[PATCH] update timezone to tzcode2004b and tzdata2004b
GOTO Masanori
gotom@debian.or.jp
Thu Jul 29 11:49:00 GMT 2004
At Thu, 29 Jul 2004 10:53:02 +0200,
Andreas Schwab wrote:
> GOTO Masanori <gotom@debian.or.jp> writes:
>
> > Note that I did not apply only tzcode2004b/zdump.c modification
> > because the difference between tzcode2003d and tzcode2004b is caused
> > by only bumping up its version number.
>
> I see more than that:
Thanks for your checking!
> --- /cvs/libc/timezone/zdump.c 2003-09-22 22:58:01.000000000 +0200
> +++ tzcode2004b/zdump.c 2004-07-19 20:33:22.000000000 +0200
> @@ -1,4 +1,4 @@
> -static char elsieid[] = "@(#)zdump.c 7.31";
> +static char elsieid[] = "@(#)zdump.c 7.33";
>
> /*
> ** This code has been made independent of the rest of the time
> @@ -151,7 +151,6 @@
>
> INITIALIZE(cuttime);
> #if HAVE_GETTEXT - 0
> - (void) setlocale(LC_CTYPE, "");
> (void) setlocale(LC_MESSAGES, "");
> #ifdef TZ_DOMAINDIR
> (void) bindtextdomain(TZ_DOMAIN, TZ_DOMAINDIR);
I think this modification is derived from glibc:
2000-10-23 Jakub Jelinek <jakub@redhat.com>
* timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES.
* timezone/zic.c (main): Likewise.
Index: timezone/zdump.c
===================================================================
RCS file: /cvs/glibc/libc/timezone/zdump.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- timezone/zdump.c 19 Jan 1999 14:36:30 -0000 1.3
+++ timezone/zdump.c 23 Oct 2000 16:57:33 -0000 1.4
@@ -155,6 +155,7 @@
INITIALIZE(cuttime);
#if HAVE_GETTEXT - 0
+ (void) setlocale(LC_CTYPE, "");
(void) setlocale(LC_MESSAGES, "");
#ifdef TZ_DOMAINDIR
(void) bindtextdomain(TZ_DOMAIN, TZ_DOMAINDIR);
Regards,
-- gotom
More information about the Libc-alpha
mailing list