Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2001 05:49:03 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Bill Fenner <fenner@research.att.com>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org, bde@freebsd.org
Subject:   Re: cvs commit: src/lib/libc/stdlib strtol.c strtoll.c strtoq.c strtoul.c strtoull.c strtouq.c
Message-ID:  <20011128024903.GD16017@nagual.pp.ru>
In-Reply-To: <200111280242.SAA03166@windsor.research.att.com>
References:  <200111280125.RAA02228@windsor.research.att.com> <20011128013902.GC15066@nagual.pp.ru> <200111280153.RAA02549@windsor.research.att.com> <20011128020226.GB15302@nagual.pp.ru> <200111280215.SAA02814@windsor.research.att.com> <20011128022344.GA15848@nagual.pp.ru> <200111280230.SAA03002@windsor.research.att.com> <20011128023804.GB16017@nagual.pp.ru> <200111280242.SAA03166@windsor.research.att.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 27, 2001 at 18:42:37 -0800, Bill Fenner wrote:
> 
> Ok, so there is a right answer: accept base up to max(36, max-locale-num),
> and don't permit the use of the ascii portion if base > 36.  Is there a
> locale call to determine the maximum local number?

ASCII portion for base > 36 already not permitted with any recent variant
because of isalpha() check.

There is no such call. Currently we need to scan upper 128 bytes each time
to determine max national digit or extend locale format to store it. I 
don't think it worse to implement this. Only national digits we will have 
in near time will be ISCII-DEV 0-9 digits.

-- 
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?20011128024903.GD16017>