Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2000 19:00:08 +0300
From:      Alexey Zelkin <phantom@cris.crimea.ua>
To:        Konstantin Chuguev <Konstantin.Chuguev@dante.org.uk>
Cc:        "Andrey A. Chernov" <ache@nagual.pp.ru>, i18n@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: Request for review: locale aliases support for libc
Message-ID:  <20000829190008.A5824@ark.cris.net>
In-Reply-To: <39ABD828.3E56A782@dante.org.uk>; from Konstantin.Chuguev@dante.org.uk on Tue, Aug 29, 2000 at 04:35:04PM %2B0100
References:  <20000829140102.A29555@ark.cris.net> <20000829151857.A90464@nagual.pp.ru> <20000829152733.A90577@nagual.pp.ru> <20000829172651.A80899@ark.cris.net> <20000829190047.A91611@nagual.pp.ru> <20000829182449.A142@ark.cris.net> <39ABD828.3E56A782@dante.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
hi,

On Tue, Aug 29, 2000 at 04:35:04PM +0100, Konstantin Chuguev wrote:

> > > You need to check LC_* existence corresponding to setlocale() request
> > > made.
> >
> > What to check if LC_ALL request is given ?
 
> LC_ALL overrides all other LC_* variables. If it is set, there is no need to
> check anything else.

> Then you should check all other LC_*, and then LANG.

As I understand you're answering in concept, but we are talking about
exact case right now (see may patches attached to previous letter)

I am trying to realize "is requested locale physicaly present on this system"
or it's just an alias. Currently I am just testing presence of 
/usr/share/locale/$requested_locale/LC_CTYPE and make decision depends
on stat(2) return value.

-- 
/* Alexey Zelkin               && phantom@cris.net       */
/* Tavric National University  && phantom@FreeBSD.org    */
/* Sysadmin/Developer          && phantom@sms.umc.com.ua */


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




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