bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] mktime(3) not detected on FreeBSD with -static


From: Paul Eggert
Subject: Re: [bug-gawk] mktime(3) not detected on FreeBSD with -static
Date: Wed, 26 Jul 2017 09:38:01 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]