about summary refs log tree commit diff
path: root/timezone/zic.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-07-29 21:49:38 +0000
committerUlrich Drepper <drepper@redhat.com>2004-07-29 21:49:38 +0000
commitd1091a21f5ce582e2c9c8cd60378634563d0cc98 (patch)
tree4f525e74fe9f07a1753de2d6e4cf5615d59c8685 /timezone/zic.c
parentdc630ccc08c8af6fdf936e5a5bf7420b3ebf0368 (diff)
downloadglibc-d1091a21f5ce582e2c9c8cd60378634563d0cc98.tar.gz
glibc-d1091a21f5ce582e2c9c8cd60378634563d0cc98.tar.xz
glibc-d1091a21f5ce582e2c9c8cd60378634563d0cc98.zip
Update.
2004-07-28  GOTO Masanori  <gotom@debian.or.jp>

	* timezone/asia: Update from tzdata2004b.
	* timezone/backward: Likewise.
	* timezone/europe: Likewise.
	* timezone/iso3166.tab: Likewise.
	* timezone/leapseconds: Likewise.
	* timezone/northamerica: Likewise.
	* timezone/southamerica: Likewise.
	* timezone/zone.tab: Likewise.

	* timezone/private.h: Update from tzcode2004b.
	* timezone/zic.c: Likewise.
Diffstat (limited to 'timezone/zic.c')
-rw-r--r--timezone/zic.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/timezone/zic.c b/timezone/zic.c
index b164b36738..9bb8662e55 100644
--- a/timezone/zic.c
+++ b/timezone/zic.c
@@ -1,4 +1,4 @@
-static char	elsieid[] = "@(#)zic.c	7.113";
+static char	elsieid[] = "@(#)zic.c	7.116";
 
 #include "private.h"
 #include "locale.h"
@@ -942,6 +942,8 @@ const int		signable;
 			error(errstring);
 			return 0;
 	}
+	if (noise && hh == HOURSPERDAY)
+		warning(_("24:00 not handled by pre-1998 versions of zic"));
 	return eitol(sign) *
 		(eitol(hh * MINSPERHOUR + mm) *
 		eitol(SECSPERMIN) + eitol(ss));
@@ -2148,8 +2150,8 @@ register const int			wantedy;
 				--i;
 			}
 		if (i < 0 || i >= len_months[isleap(y)][m]) {
-			error(_("no day in month matches rule"));
-			(void) exit(EXIT_FAILURE);
+			if (noise)
+				warning(_("rule goes past start/end of month--will not work with pre-2004 versions of zic"));
 		}
 	}
 	if (dayoff < 0 && !TYPE_SIGNED(time_t))
@@ -2243,5 +2245,5 @@ const int	i;
 }
 
 /*
-** UNIX was a registered trademark of UNIX System Laboratories in 1993.
+** UNIX was a registered trademark of The Open Group in 2003.
 */