This is the mail archive of the glibc-bugs@sources.redhat.com 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/812] mktime does not return -1


------- Additional Comments From futhark at users dot sourceforge dot net  2005-04-10 09:33 -------
It looks like mktime() will return INT_MIN if the value would be less than
time_t's minimum, but not by more than 20 years, and it will return INT_MAX if
the value would be greater than time_t's maximum, but not by more than 20 years.
If the value exceeds time_t's range by more than 20 years, then mktime() will
return -1. It should, however, return -1 in all three cases.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |


http://sources.redhat.com/bugzilla/show_bug.cgi?id=812

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