aboutsummaryrefslogtreecommitdiff
path: root/timezone/README
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-10-22 22:24:08 +0000
committerRoland McGrath <roland@gnu.org>2004-10-22 22:24:08 +0000
commit030d37152aa8e50653c4591e42ba7efe80fd1fc6 (patch)
tree6cf43ce359d379f2f4ca77e847bbb88520c88293 /timezone/README
parent347a6c2dd8ca5208c16c9d3f32160defe7a7eda1 (diff)
downloadglibc-030d37152aa8e50653c4591e42ba7efe80fd1fc6.tar
glibc-030d37152aa8e50653c4591e42ba7efe80fd1fc6.tar.gz
glibc-030d37152aa8e50653c4591e42ba7efe80fd1fc6.tar.bz2
glibc-030d37152aa8e50653c4591e42ba7efe80fd1fc6.zip
[BZ #471] Fix imported from gnulib.
* time/mktime.c (leapyear, ydms_tm_diff): Year is of type long int, not int, to avoid problems when tm_year == INT_MAX and tm_mon > 12. (__mktime_intenral): Compute year using long int arithmetic, not int arithmetic, to avoid problems on hosts where time_t and long are 64 bits but int is 32.
Diffstat (limited to 'timezone/README')
0 files changed, 0 insertions, 0 deletions