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]
Other format: [Raw text]

Re: Doubts about uselocale semantics (aka, libstdc++/12859)


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.


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