Bruno Haible wrote:
> Just one test fails:
>
> 000001010000.00 mismatch (-: actual; +:expected)
> --62167132800
> +-62167219200
> FAIL: test-posixtm
>
> Jim, what does this mean?

Hi Bruno,

I suspect that is due to a bug in their mktime function.
I presume that test is using the system version of mktime,
and not the gnulib replacement.

000001010000.00 is supposed to map to Sat Jan  1 00:00:00 0,
aka 62167219200 (aka the first second of the year "0"), but they missed
by 86400 seconds (24 hours) and got Sun Jan  2 00:00:00 0.

Does that test pass when using our replacement?
If so, this is a good argument for improving mktime's configure-time
test to detect this flaw.


Reply via email to