From owner-cvs-all Sat Feb 10 15: 3:56 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 E5E4A37B401; Sat, 10 Feb 2001 15:03:35 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.2/8.11.2) id f1AN3Xh81240; Sun, 11 Feb 2001 02:03:34 +0300 (MSK) (envelope-from ache) Date: Sun, 11 Feb 2001 02:03:32 +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 Message-ID: <20010211020331.A81154@nagual.pp.ru> References: <200102102022.f1AKMk175357@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102102022.f1AKMk175357@freefall.freebsd.org>; from phantom@FreeBSD.org on Sat, Feb 10, 2001 at 12:22:45PM -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Feb 10, 2001 at 12:22:45 -0800, Alexey Zelkin wrote: > phantom 2001/02/10 12:22:45 PST > > Modified files: > lib/libc/locale fix_grouping.c > Log: > make it possible to specify grouping number from range 0..CHAR_MAX, > not only one-digit number Empty string means no grouping too (there is no symbol to repeat for '\0'), so this check if (str == 0) { should be if (str == NULL || !*str) { -- 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