about summary refs log tree commit diff
path: root/soft-fp/single.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-03-16 02:48:38 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-05-23 14:36:24 -0700
commitf04dfbc244efb683e395d40c08c86fb93e679167 (patch)
tree19bca32482b3e5b046641a77db91a8f8cb28f8db /soft-fp/single.h
parent62bdf9a68363655f0a3d03f930de2bda97a161cc (diff)
downloadglibc-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