Hello list,

Using gnulib's mktime on MinGW platform, I found that a call to
mktime() hangs for dates before 1970-01-01 01:00:00.
To reproduce, I compiled mktime.c into an executable file as
instructed at the bottom of the source code.

> mktime 1970-01-01 01:00:00
mktime returns 0 == 1970-01-01 01:00:00 yday 000 wday 4 isdst 0

but

> mktime 1970-01-01 00:59:59

(no response)

and the same happens for older dates (The original occurence was a
testcase in octave's source code using the date 03/13/1962)

benjamin

Reply via email to