tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/locale



hi,

> On Mon, Apr 15, 2013 at 11:40:57PM +0900, Takehiko NOZAKI wrote:
>> POSIX2008 spec say, *_l func with invalid locale handle may EINVAL.
>> NULL or (locale_t)0 is invalid locale handle.
>> why are you think fallback to C locale?
> 
> That's what Apple and FreeBSD provide and which is actually quite
> useful. Wanting access to the C locale is the most common case for many
> locale issues. Making that easy sounds like a good idea in general.

is there consumers of this "extension" in the field?

an application can have a global c_locale = newlocale("C")
if it wants an easy access to the C locale.

YAMAMOTO Takashi

> 
> Joerg


Home | Main Index | Thread Index | Old Index