freebsd-skq/lib/libc/stdtime
peter 86b5d0d658 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 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
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
tzfile.5
tzfile.h