diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-03-16 02:48:38 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-05-23 14:36:24 -0700 |
commit | f04dfbc244efb683e395d40c08c86fb93e679167 (patch) | |
tree | 19bca32482b3e5b046641a77db91a8f8cb28f8db /soft-fp/single.h | |
parent | 62bdf9a68363655f0a3d03f930de2bda97a161cc (diff) | |
download | glibc-f04dfbc244efb683e395d40c08c86fb93e679167.tar.gz glibc-f04dfbc244efb683e395d40c08c86fb93e679167.tar.xz glibc-f04dfbc244efb683e395d40c08c86fb93e679167.zip |
mktime: do not assume 'long' is wide enough
* time/mktime.c (verify): Move decl up. (long_int): New type. (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it, to remove assumption in the code that 'long' is wide enough to store year values. This assumption is not true on x32 and on some non-glibc platforms.
Diffstat (limited to 'soft-fp/single.h')
0 files changed, 0 insertions, 0 deletions