This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/2821] mktime() returns 2147483647 for various dates > 2038


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]