Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2001 02:03:32 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Alexey Zelkin <phantom@FreeBSD.org>
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>
In-Reply-To: <200102102022.f1AKMk175357@freefall.freebsd.org>; from phantom@FreeBSD.org on Sat, Feb 10, 2001 at 12:22:45PM -0800
References:  <200102102022.f1AKMk175357@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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