Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2002 01:41:30 +0400
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Alexey Zelkin <phantom@freebsd.org>
Cc:        i18n@freebsd.org
Subject:   Re: setlocale() fallback behaviour
Message-ID:  <20020920214129.GA17859@nagual.pp.ru>
In-Reply-To: <20020920230219.A88895@ark.cris.net>
References:  <20020920230219.A88895@ark.cris.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 20, 2002 at 23:02:19 +0300, Alexey Zelkin wrote:
> 
> with call setlocale(LC_ALL, "") we'll get completely "C" defaulting
> locale.

According to POSIX test suite, LC_ALL must fail if ANY of sub-LC's is 
invalid.

"Upon successful completion, setlocale ( ) shall return the string
associated with the specified category for the new locale. Otherwise,
setlocale ( ) shall return a null pointer and the program's locale is not
                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
changed."
^^^^^^^^^

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-i18n" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020920214129.GA17859>