bad side-effects of new locale design
Geoff Keating
geoffk@cygnus.com
Wed Sep 6 20:49:00 GMT 2000
> 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>
More information about the Libc-alpha
mailing list