From owner-cvs-all Sun Dec 2 8: 1:29 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 33C7537B416; Sun, 2 Dec 2001 08:01:25 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id DAA32063; Mon, 3 Dec 2001 03:01:22 +1100 Date: Mon, 3 Dec 2001 03:01:37 +1100 (EST) From: Bruce Evans X-X-Sender: To: "Andrey A. Chernov" Cc: , Subject: Re: cvs commit: src/lib/libc/locale isprint.3 In-Reply-To: <200112021231.fB2CVjn40304@freefall.freebsd.org> Message-ID: <20011203024602.F8849-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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