From owner-cvs-all Tue Nov 27 17:53:31 2001 Delivered-To: cvs-all@freebsd.org Received: from mail-blue.research.att.com (mail-blue.research.att.com [135.207.30.102]) by hub.freebsd.org (Postfix) with ESMTP id 1119037B405; Tue, 27 Nov 2001 17:53:27 -0800 (PST) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-blue.research.att.com (Postfix) with ESMTP id 719044CE87; Tue, 27 Nov 2001 20:53:26 -0500 (EST) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id UAA22785; Tue, 27 Nov 2001 20:53:25 -0500 (EST) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id RAA02549; Tue, 27 Nov 2001 17:53:25 -0800 (PST) Message-Id: <200111280153.RAA02549@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: ache@nagual.pp.ru Subject: Re: cvs commit: src/lib/libc/stdlib strtol.c strtoll.c strtoq.c strtoul.c strtoull.c strtouq.c Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org References: <200111280125.RAA02228@windsor.research.att.com> <20011128013902.GC15066@nagual.pp.ru> Date: Tue, 27 Nov 2001 17:53:24 -0800 Versions: dmail (solaris) 2.2j/makemail 2.9b 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 >No, there is isalpha() check there. Good point. So what's the point of converting base 37 when you don't have an alphabet that can represent base 37? i.e. for what value of buf does strtol(buf, &eptr, 37) return 36? The 36 is not an arbitrary restriction; it's the size of the alphabet that strto* is willing to accept. Please either expand the alphabet or put back the restriction. Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message