freebsd-nq/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
ctime.3
difftime.c
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
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
time32.c
timelocal.c
timelocal.h
tzfile.5
tzfile.h