This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Andreas Jaeger <aj@arthur.rhein-neckar.de>] tzdata1999b



The timezone patch I send this morning has one problem.  I'm appending 
a mail I've just send to the timezone list together with a patch for
glibc.

Andreas

1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* timezone/asia: Use rule EUAsia instead of the undefined EU for
	Asia/Nicosia.

--- timezone/asia.~1~	Fri Mar 19 10:28:45 1999
+++ timezone/asia	Fri Mar 19 18:45:04 1999
@@ -305,7 +305,7 @@
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	Asia/Nicosia	2:13:28 -	LMT	1921 Nov 14
 			2:00	Cyprus	EE%sT	1998 Sep
-			2:00	EU	EE%sT
+			2:00	EUAsia	EE%sT
 # IATA SSIM (1998-09) has Cyprus using EU rules for the first time.
 
 # Georgia





This morning I added tzdata1999b to glibc 2.1 and got the following
failure when running make check:
/usr/glibc/src/buildreport/19990319/timezone/zic -d /usr/glibc/src/buildreport/19990319/timezone/testdata -y ./yearistype asia
"asia", line 308: unruly zone
"asia", line 308: %s in ruleless zone

The problem is:
Zone	Asia/Nicosia	2:13:28 -	LMT	1921 Nov 14
			2:00	Cyprus	EE%sT	1998 Sep
			2:00	EU	EE%sT
EU isn't defined in asia and EUAsia is used instead.

The appended patch fixes my problem.

--- timezone/asia.~1~	Fri Mar 19 10:28:45 1999
+++ timezone/asia	Fri Mar 19 18:45:04 1999
@@ -305,7 +305,7 @@
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	Asia/Nicosia	2:13:28 -	LMT	1921 Nov 14
 			2:00	Cyprus	EE%sT	1998 Sep
-			2:00	EU	EE%sT
+			2:00	EUAsia	EE%sT
 # IATA SSIM (1998-09) has Cyprus using EU rules for the first time.
 
 # Georgia

-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de




-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]