From efbdddc381cfea5bfa9527e86fa3078257e5d91b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 15 Nov 2018 22:59:33 +0100 Subject: mktime: make more room for overflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [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. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index f70c3be7a1..064d0a305c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2018-11-15 Paul Eggert + mktime: make more room for overflow + [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. + mktime: simplify offset guess [BZ#23789] * time/mktime.c (__mktime_internal): Omit excess precision. -- cgit v1.2.3