Václav Haisman wrote:
How buggy is FreeBSD's `mktime()`? Links, bugs?
See the mktime test program in gawk's 'configure' script. It probably comes
from:
http://git.savannah.gnu.org/cgit/gnulib.git/tree/m4/mktime.m4
Some mktime implementations are quite bad: they can go into infinite or
seemingly-infinite loops and/or dump core in addition to returning incorrect
answers. I don't know which of the problems FreeBSD mktime has. You should be OK
if you use glibc mktime, Gnulib mktime, or the reference mktime in tzcode.