tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/lib/libc/locale
On 2013-04-16 00:55, YAMAMOTO Takashi wrote:
>> 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.
Note that POSIX Issue 7 TC1 was recently published [1], and there are
some relevant locale fixes. Specifically, [2] removes the "may fail"
EINVAL error from *_l(), and adds the following paragraph:
The behavior is undefined if the locale argument to *_l() is the
special locale object LC_GLOBAL_LOCALE or is not a valid locale
object handle.
-Richard
[1] http://article.gmane.org/gmane.comp.standards.posix.austin.general/7004
[2] http://austingroupbugs.net/view.php?id=283
Home |
Main Index |
Thread Index |
Old Index