Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2001 04:39:02 +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
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>
In-Reply-To: <200111280125.RAA02228@windsor.research.att.com>
References:  <200111280125.RAA02228@windsor.research.att.com>

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




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