Jim Meyering wrote:
Paul Eggert wrote:
Thanks very much for that test case; I've confirmed the bug on
my platform with the latest 'sort'. If nobody else gets to it
I will try to take a look at it when I find the time
(most likely in a week or so).
Yes, thanks again!
That is a serious bug.
The test-parse-datetime fails with glibc-2.16.0 The new glibc uses time
data from http://www.iana.org/time-zones. This currently uses a
leapseconds cumulative value of 24.
The problem shows up in the test-parse-datetime.c file:
time_t ref_time = 1304250918;
gmtoff = gmt_offset (ref_time);