Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2001 18:59:20 -0800
From:      Bill Fenner <fenner@research.att.com>
To:        ache@nagual.pp.ru
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:  <200111280259.SAA03382@windsor.research.att.com>
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> <20011128024903.GD16017@nagual.pp.ru>

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

>ASCII portion for base > 36 already not permitted with any recent variant
>because of isalpha() check.

I was thinking that it should be stronger, and that bases > 36 should
ONLY allow national numeric characters in the alphabet, since the
"fallback" alphabet couldn't represent everything - i.e. add "base <= 36"
to "isascii() && isalpha()".

>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.

Ok.  Until there are national numeric characters > 36, I think we should
leave the restriction of base to <= 36 in place.

  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?200111280259.SAA03382>