From owner-cvs-all Fri Jan 11 8:16:59 2002 Delivered-To: cvs-all@freebsd.org Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id 96B5B37B41C; Fri, 11 Jan 2002 08:16:51 -0800 (PST) Received: from madman.nectar.cc (madman.nectar.cc [10.0.1.111]) by gw.nectar.cc (Postfix) with ESMTP id F12C540; Fri, 11 Jan 2002 10:16:50 -0600 (CST) Received: (from nectar@localhost) by madman.nectar.cc (8.11.6/8.11.6) id g0BGGoA55816; Fri, 11 Jan 2002 10:16:50 -0600 (CST) (envelope-from nectar) Date: Fri, 11 Jan 2002 10:16:50 -0600 From: "Jacques A. Vidrine" To: Bruce Evans Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/locale isblank.3 Message-ID: <20020111161650.GA55753@madman.nectar.cc> Mail-Followup-To: "Jacques A. Vidrine" , Bruce Evans , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200201111521.g0BFL4i82482@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200201111521.g0BFL4i82482@freefall.freebsd.org> User-Agent: Mutt/1.3.25i X-Url: http://www.nectar.cc/ 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 Fri, Jan 11, 2002 at 07:21:04AM -0800, Bruce Evans wrote: > bde 2002/01/11 07:21:04 PST > > Modified files: > lib/libc/locale isblank.3 > Log: > Removed assertion that isblank() conforms to C90 too. This assertion > is correct but less than useful. There is some uncertainty about whether > isblank() is in C99, but it is certainly not in C90. It just conforms > to C89 because it is a conforming extension. Why is there uncertainty? It is in my copy of ISO/IEC 9899:1999: 7.4.1.3 The isblank function Synopsis 1 #include int isblank(int c); Description 2 The isblank function tests for any character that is a standard blank character or is one of a locale-specific set of characters for which isspace is true and that is used to separate words within a line of text. The standard blank characters are the following: space (' '), and horizontal tab ('\t'). In the "C" locale, isblank returns true only for the standard blank characters. Also, Appendix J.4 `Locale-specific behavior' says: ``The following characteristics of a hosted environment are locale-specific and are required to be documented by the implementation: [...] The sets of characters tested for by the [...] isblank [...] functions.'' Cheers, -- Jacques A. Vidrine http://www.nectar.cc/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message