about summary refs log tree commit diff
path: root/gshadow/getsgent.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-03-16 02:36:14 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-05-23 14:36:24 -0700
commit62bdf9a68363655f0a3d03f930de2bda97a161cc (patch)
tree755462bc4e83c718ead78f886c4e5d33ceb1bdb6 /gshadow/getsgent.c
parent5e292e4fa55177b858fa034ab5829de3f7587d76 (diff)
downloadglibc-62bdf9a68363655f0a3d03f930de2bda97a161cc.tar.gz
glibc-62bdf9a68363655f0a3d03f930de2bda97a161cc.tar.xz
glibc-62bdf9a68363655f0a3d03f930de2bda97a161cc.zip
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 'gshadow/getsgent.c')
0 files changed, 0 insertions, 0 deletions