forked from lattera/glibc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
2 changed files
with
99 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
2012-05-23 Paul Eggert <[email protected]> | ||
|
||
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 <[email protected]> | ||
|
||
* sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters