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]

Re: bad side-effects of new locale design


> 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>

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