From owner-freebsd-current Tue Aug 29 8:25:32 2000 Delivered-To: freebsd-current@freebsd.org Received: from columbus.cris.net (columbus.cris.net [212.110.128.65]) by hub.freebsd.org (Postfix) with ESMTP id F23B337B42C; Tue, 29 Aug 2000 08:25:23 -0700 (PDT) Received: from ark.cris.net (ark.cris.net [212.110.128.68]) by columbus.cris.net (8.9.3/8.9.3) with ESMTP id SAA66823; Tue, 29 Aug 2000 18:25:04 +0300 (EEST) Received: (from phantom@localhost) by ark.cris.net (8.9.3/8.9.3) id SAA01172; Tue, 29 Aug 2000 18:24:49 +0300 (EEST) (envelope-from phantom) Date: Tue, 29 Aug 2000 18:24:49 +0300 From: Alexey Zelkin To: "Andrey A. Chernov" Cc: i18n@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Request for review: locale aliases support for libc Message-ID: <20000829182449.A142@ark.cris.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000829190047.A91611@nagual.pp.ru>; from ache@nagual.pp.ru on Tue, Aug 29, 2000 at 07:00:47PM +0400 X-Operating-System: FreeBSD 3.5-STABLE i386 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, On Tue, Aug 29, 2000 at 07:00:47PM +0400, Andrey A. Chernov wrote: > Why you always check LC_CTYPE existance only? It may not exist but other > locale parts, f.e. LC_TIME are still valid. It is not required to have > LC_CTYPE for locale. I just randomly selected one of files which is exists in locale directory and my check have only target to understand -- is given locale name valid locale or its alias. > You need to check LC_* existence corresponding to setlocale() request > made. What to check if LC_ALL request is given ? -- /* 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