This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Doubts about uselocale semantics (aka, libstdc++/12859)
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libc-alpha at sources dot redhat dot com, drepper at redhat dot com, roland at redhat dot com
- Date: Fri, 31 Oct 2003 23:35:50 +0100
- Subject: Re: Doubts about uselocale semantics (aka, libstdc++/12859)
- References: <3FA2D07D.3080102@suse.de>
Paolo Carlini wrote:
I have read and re-read the relevant sections of "Thread-aware Locale
Model" (par 3.4, in particular) and really need your help: why the
second uselocale doesn't restore the "de_DE" locale for the current
thread?
In fact, trying a sequence of printf("%f\n", 1.2) instead of a sequence
of isalpha shows that, in fact, de_DE *is* restored as expected, only
the behavior of isalpha is weird.
I understand that isalpha is also provided in the locale parameterized
version isalpha_l but for an user of the standard isalpha the behavior
that I have reported in my previous message seems really surprising!
Do you consider it a feature?
Thanks again,
Paolo.