Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2001 17:53:24 -0800
From:      Bill Fenner <fenner@research.att.com>
To:        ache@nagual.pp.ru
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:  <200111280153.RAA02549@windsor.research.att.com>
References:   <200111280125.RAA02228@windsor.research.att.com> <20011128013902.GC15066@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

>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




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