From cf6866dd8b4378ee81773cedecce5e8720dc6b62 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 4 Apr 2005 19:52:07 +0000 Subject: [PATCH] getdate patch for empty string near dst changes. --- lib/ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/ChangeLog b/lib/ChangeLog index df36eef..b049757 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,17 @@ +2005-04-04 Paul Eggert + + * getdate.y (parser_control): rels_seen is now a boolean, not a + count, since there's no maximum. All uses changed. + Add member dsts_seen. + (local_zone): Accumulate dsts_seen rather than relying on tm_isdst + not being INT_MAX. + (get_date): Initialize dsts_seen, and check that it doesn't go over 1. + Use pc_rels_seen to decide whther a date is absolute. + + * getdate.y (number): Don't overwrite year. + (get_date): Initialize pc.year.digits to 0, not 4, to enable above + check. + 2005-03-30 Paul Eggert * readutmp.h (read_utmp): New arg OPTIONS. All uses changed. -- 2.7.4