freebsd-dev/lib/libc/stdtime
Peter Wemm a5bf4e71ef Replace rev 1.33 with a real fix. The problem was integer overflows
when trying to store the year in a signed int.  The maximum time_t on ia64
is around 292 billion years in the future, but 'int' and struct tm.tm_year
can only represent then ext 2.1 billion years or so.

This solves the problem of mktime/localtime looping on ia64.  Unfortunately,
the standards say that tm_year is an 'int', so we are still stuck with a
y2147483647 bug.  bash2's configure script looks for bugs in mktime() and
fails on ia64 because of this.  However, mktime() on FreeBSD fails the test
normally anyway so this is no big loss.

This change does not affect any other platforms besides ia64.

Approved by:	re
2002-12-02 01:05:08 +00:00
..
asctime.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
ctime.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
difftime.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
localtime.c Replace rev 1.33 with a real fix. The problem was integer overflows 2002-12-02 01:05:08 +00:00
Makefile.inc libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
private.h Assume __STDC__, remove non-__STDC__ code. 2002-05-28 17:03:12 +00:00
strftime.3 Add cross-references to the wide character counterparts of these functions. 2002-10-15 10:11:53 +00:00
strftime.c Style: One space between "restrict" qualifier and "*". 2002-09-06 11:24:06 +00:00
strptime.3 Style: One space between "restrict" qualifier and "*". 2002-09-06 11:24:06 +00:00
strptime.c Style: One space between "restrict" qualifier and "*". 2002-09-06 11:24:06 +00:00
time2posix.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
time32.c Move dillon's time conversion functions to a new header <timeconv.h>. 2002-06-17 01:42:33 +00:00
timelocal.c Style fixes 2002-08-07 16:49:20 +00:00
timelocal.h * style(9)'fy 2002-01-24 15:07:44 +00:00
tzfile.5 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 13:41:46 +00:00
tzfile.h Fix the style of the SCM ID's. 2002-03-22 23:42:05 +00:00