freebsd-dev/lib/libc
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
..
alpha libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
amd64 libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
compat-43 libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
db libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
gen mdoc(7) police: formatting nits. 2002-11-29 15:57:50 +00:00
gmon libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
i386 libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
ia64 Sort SRCS. 2002-11-16 01:41:33 +00:00
include Argh, change declaration of two-dimensional array so that it actually 2002-11-13 21:55:22 +00:00
locale mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
net mdoc(7) police: formatting nits. 2002-11-29 15:57:50 +00:00
nls libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
posix1e libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
powerpc _C_LABEL -> CNAME 2002-05-17 05:11:13 +00:00
quad libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
regex libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
rpc libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
sparc64 libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
stdio mdoc(7) police: formatting nits. 2002-11-29 15:57:50 +00:00
stdlib mdoc(7) police: sweep. 2002-11-29 16:42:23 +00:00
stdtime Replace rev 1.33 with a real fix. The problem was integer overflows 2002-12-02 01:05:08 +00:00
string mdoc(7) police: formatting nits. 2002-11-29 15:57:50 +00:00
sys mdoc(7) police: formatting nits. 2002-11-29 15:57:50 +00:00
uuid libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
xdr libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
yp libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
Makefile libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00