diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-03-16 02:36:14 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-05-23 14:36:24 -0700 |
commit | 62bdf9a68363655f0a3d03f930de2bda97a161cc (patch) | |
tree | 755462bc4e83c718ead78f886c4e5d33ceb1bdb6 /grp | |
parent | 5e292e4fa55177b858fa034ab5829de3f7587d76 (diff) | |
download | glibc-62bdf9a68363655f0a3d03f930de2bda97a161cc.zip glibc-62bdf9a68363655f0a3d03f930de2bda97a161cc.tar.gz glibc-62bdf9a68363655f0a3d03f930de2bda97a161cc.tar.bz2 |
mktime: merge wrapv change from gnulib
* time/mktime.c (WRAPV): New macro.
(time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
(guess_time_tm, __mktime_internal): Do not assume that signed
integer overflow wraps around; modern compilers generate code
where this assumption is no longer valid.
Diffstat (limited to 'grp')
0 files changed, 0 insertions, 0 deletions