From owner-cvs-all Tue Nov 27 17:39:13 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 1FD1D37B405; Tue, 27 Nov 2001 17:39:06 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.6/8.11.6) id fAS1d3T15245; Wed, 28 Nov 2001 04:39:03 +0300 (MSK) (envelope-from ache) Date: Wed, 28 Nov 2001 04:39:02 +0300 From: "Andrey A. Chernov" To: Bill Fenner Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libc/stdlib strtol.c strtoll.c strtoq.c strtoul.c strtoull.c strtouq.c Message-ID: <20011128013902.GC15066@nagual.pp.ru> References: <200111280125.RAA02228@windsor.research.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200111280125.RAA02228@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 17:25:45 -0800, Bill Fenner wrote: > > > Allow bases >=36 again > > So [ = 36, \ = 37, ] = 38, ^ = 39, _ = 40, a = 10, b = 11, ...? Even if > it makes sense to allow base 40 (what about the lowercase style, where 40 > would be represented by a non-printing character?), what about base > 40? No, there is isalpha() check there. BTW, strtol("123", ...) is valid for any given base (big enough). -- 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