This is the mail archive of the libc-alpha@sources.redhat.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]
Other format: [Raw text]

Re: [PATCH] update timezone to tzcode2004b and tzdata2004b


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


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