This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2821] mktime() returns 2147483647 for various dates > 2038
- From: "jakub at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 8 Sep 2006 11:21:15 -0000
- Subject: [Bug libc/2821] mktime() returns 2147483647 for various dates > 2038
- References: <20060622213319.2821.wbardwel@curl.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jakub at redhat dot com 2006-09-08 11:21 -------
In this case diff of approx_biennia of repaired_t0 and approx_requested_biennia
is smaller than overflow_threshold (on 32-bit arches that's 21 biennia) and
so mktime_internal sets *offset to a very large value and continues rather than
returning -1 right away. Not sure where the code should find that the current
timezone offset is not enough to undo the overflow.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |eggert at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=2821
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.