From owner-cvs-all Sat Feb 10 12:22:31 2001 Delivered-To: cvs-all@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id B840537B4EC; Sat, 10 Feb 2001 12:22:02 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.2/8.11.2) id f1AKM1Y77255; Sat, 10 Feb 2001 23:22:01 +0300 (MSK) (envelope-from ache) Date: Sat, 10 Feb 2001 23:22:01 +0300 From: "Andrey A. Chernov" To: Alexey Zelkin Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/locale fix_grouping.c Makefile.inc lmonetary.c lnumeric.c localeconv.c Message-ID: <20010210232201.A77154@nagual.pp.ru> References: <200102101536.f1AFalt39792@freefall.freebsd.org> <20010210203601.A75114@nagual.pp.ru> <20010210221658.A55284@ark.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010210221658.A55284@ark.cris.net>; from phantom@FreeBSD.org on Sat, Feb 10, 2001 at 10:16:58PM +0200 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Feb 10, 2001 at 22:16:58 +0200, Alexey Zelkin wrote: > > lmonetary.c lnumeric.c: > > C locale - numempty[] is wrong. It is double-converted as result. It must > > be "-1". > How ? Conversion is related to loaded locale part only. It does not > affect predefined _C_ locale structures. What happens if you load "C" or "POSIX" locale explicetly? part_load_locale return 0 after checking for "POSIX" or "C", i.e. ret == 0 and _fix_locale_grouping _happens_ on C locale, i.e. double conversion happens. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message