This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: bad side-effects of new locale design
- To: stano at trillian dot eunet dot sk
- Subject: Re: bad side-effects of new locale design
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: Wed, 6 Sep 2000 00:08:39 -0700
- CC: libc-alpha at sourceware dot cygnus dot com
- References: <00Sep6.084311cest.115210@fwetm.etm.at>
> Date: Wed, 6 Sep 100 08:43:11 +0100 (METDST)
> From: Stanislav Meduna <stano@trillian.eunet.sk>
> You are right that the program is broken and glibc is allowed
> to do what it does. Unfortunately, there is a ton of programs
> that don't bother to call setlocale, but the user wants to see
> localized messages at least from the glibc. The users
> _will_ be confused by this incompatibility and the problem
> will have no end in sight.
One way to make that work is to call setlocale() from a shared
object initializer loaded with LD_PRELOAD. Of course, this
could break the application.
--
- Geoffrey Keating <geoffk@cygnus.com>