a5bf4e71ef
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 |
||
---|---|---|
.. | ||
asctime.c | ||
ctime.3 | ||
difftime.c | ||
localtime.c | ||
Makefile.inc | ||
private.h | ||
strftime.3 | ||
strftime.c | ||
strptime.3 | ||
strptime.c | ||
time2posix.3 | ||
time32.c | ||
timelocal.c | ||
timelocal.h | ||
tzfile.5 | ||
tzfile.h |