Date: Mon, 3 Dec 2001 03:01:37 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: "Andrey A. Chernov" <ache@FreeBSD.org> Cc: <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: src/lib/libc/locale isprint.3 Message-ID: <20011203024602.F8849-100000@gamplex.bde.org> In-Reply-To: <200112021231.fB2CVjn40304@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2 Dec 2001, Andrey A. Chernov wrote: > ache 2001/12/02 04:31:45 PST > > Modified files: > lib/libc/locale isprint.3 > Log: > Remove specific reference to ASCII space (' '), it is true for localized > spaces too ' ' is not ASCII space; it is (the value of) the normal space character in the execution character set. The interesting point here is whether isprint(' ') is true in all locales. The ISO (1990) C standard and the previous version of the man page use exactly the same wording to explicitly say that it is. This commit at best obfuscates this. Please back it out. The standard is considerably less clear about whether isalpha(letter) is true for the letters in the minimal execution character set in all locales. This affects functions like strtol(). Is strtol("A", 0, 16) 10 in all locales? Andrey and I have been having a too-long private discussion about this. Bruce 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?20011203024602.F8849-100000>