[PATCH] Use 64-bit time_t for time zone file parsing
Florian Weimer
fweimer@redhat.com
Fri May 18 12:12:00 GMT 2018
On 05/17/2018 11:06 PM, Joseph Myers wrote:
> Does this use of 64-bit time_t fix bug 19738 ("__tzfile_default 32-bit
> time_t overflow")? If it does, we should add a testcase for that bug then
> resolve it as FIXED in 2.28.
Looks like it. Here's a test case which fails before on i386 (assuming
that the system posixrules file as the required contents) and passes
afterwards.
I would call the bug fixed because dates where the overflow occurs with
a 64-bit (internal) time_t are after the expected life-time of the sun,
where daylight savings time is certainly meaningless.
Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug19738.patch
Type: text/x-patch
Size: 2421 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20180518/c139355f/attachment.bin>
More information about the Libc-alpha
mailing list