LANGUAGE handling

Bruno Haible haible@ilog.fr
Wed Jan 3 10:17:00 GMT 2001


Ulrich Drepper writes:
> I've just applied a patch which changes the handling of the LANGUAGE
> environment variable.  It's value is now ignored if the locale used in
> the gettext call is "C".  This will avoid the problems some people saw
> with charset conversion and transliteration happening if the program
> is not ready (means, did not call setlocale).

Thanks. This not only fixes the problem; it also teaches programmers
to use setlocale() if they want LANGUAGE to be obeyed.

> This was the last patch on my list.  I'll make today or tomorrow a
> first test release for 2.2.1.  If you have anything left which should
> be in 2.2.1 let me know soon.

Yes, I have a critical fix for an ngettext() core dump.

Bruno


More information about the Libc-alpha mailing list