diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-01-28 21:02:31 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-01-28 21:03:04 -0800 |
commit | b34d68259f1cba7181c8c2a9e4787a46db2836b4 (patch) | |
tree | a42d60781760a11ea5b9addda9bf2b09cf6706f5 /modules/unlink | |
parent | 1424298fee7051224352dacc3f96bdb2f4bfe7db (diff) | |
download | gnulib-b34d68259f1cba7181c8c2a9e4787a46db2836b4.tar.gz |
mktime: avoid problems on NetBSD 5 / i386
* lib/mktime.c (long_int): New type. This works around a problem
on NetBSD 5 / i386, where 'long int' and 'int' are both 32 bits
but time_t is 64 bits, and where I expect the existing code is
wrong in some cases.
(leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it.
(ydhms_diff): Bring back the compile-time check for wide-enough
year and yday.
Diffstat (limited to 'modules/unlink')
0 files changed, 0 insertions, 0 deletions