From owner-cvs-all Tue Nov 27 18:49:15 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 2E04F37B405; Tue, 27 Nov 2001 18:49:07 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.6/8.11.6) id fAS2n4o16179; Wed, 28 Nov 2001 05:49:04 +0300 (MSK) (envelope-from ache) Date: Wed, 28 Nov 2001 05:49:03 +0300 From: "Andrey A. Chernov" To: Bill Fenner 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> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200111280242.SAA03166@windsor.research.att.com> User-Agent: Mutt/1.3.23.2i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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