mktime: make more room for overflow

System Internals / glibc - Paul Eggert [cs.ucla.edu] - 15 November 2018 21:59 EST

[BZ#23789]
- time/mktime.c (long_int): Now 4⨯ int, not just 3⨯. This is so that we can add tm_diff results to a previous guess, which will be useful in a later patch.

efbdddc381 mktime: make more room for overflow
ChangeLog | 6 ++++++
time/mktime.c | 20 +++++++++++---------
2 files changed, 17 insertions(+), 9 deletions(-)

Upstream: sourceware.org


  • Share