summaryrefslogtreecommitdiff
path: root/ChangeLog
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 /ChangeLog
parent5e292e4fa55177b858fa034ab5829de3f7587d76 (diff)
downloadglibc-62bdf9a68363655f0a3d03f930de2bda97a161cc.tar.gz
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 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 18e65a34d5..3888b871b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ 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.
+
2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):