This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: [RFC] Refresh iswblank and iswspace (was Re: Update wctype functions to Unicode 5.2?)


On Feb 16 11:05, Howland Craig D (Craig) wrote:
> Unfortunately, not quite so simple--but almost:
> we'd need to check if the locale is exactly either "C" or "POSIX".
> (It's a little annoying that POSIX allows either when there is no
> apparent difference between them, but it's what they require.)

No.  The test for "C" is sufficient.  Setlocale always sets the locale
to "C" internally, if the incoming locale string is "C" or "POSIX".


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


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