[ds6-devel] nc6/src main.c,1.16.4.7,1.16.4.8

Chris Leishman chris at leishman.org
Wed Jan 15 01:30:08 CET 2003


On Wednesday, January 15, 2003, at 12:51 AM, simone at deepspace6.net 
wrote:

> Update of /ds6/cvs/nc6/src
>
> Modified Files:
>       Tag: i18n
> 	main.c
> Log Message:
> LC_MESSAGES is used when LC_ALL is undefined


This isn't what your change does.  It now looks like:

#ifdef ENABLE_NLS
#ifdef HAVE_SETLOCALE
         setlocale(LC_ALL, "");
         setlocale(LC_MESSAGES, "");
#endif /* HAVE_SETLOCALE */
         bindtextdomain(PACKAGE, LOCALEDIR);
         textdomain(PACKAGE);
#endif /* ENABLE_NLS */


So LC_ALL gets set, then LC_MESSAGES (which is unnecessary since LC_ALL 
sets LC_MESSAGES).  Perhaps your missing an #ifdef LC_ALL or something? 
  Though is a missing LC_ALL common?

Regards,
Chris



More information about the ds6-devel mailing list