From owner-freebsd-bugs Tue Feb 23 6:50: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 55DFA11377 for ; Tue, 23 Feb 1999 06:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id GAA13395; Tue, 23 Feb 1999 06:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from squirrel.tgsoft.com (cx20270-a.pwy1.sdca.home.com [24.0.169.3]) by hub.freebsd.org (Postfix) with SMTP id 6319D114B0 for ; Tue, 23 Feb 1999 06:48:44 -0800 (PST) (envelope-from thompson@tgsoft.com) Received: (qmail 8755 invoked by uid 128); 23 Feb 1999 14:48:43 -0000 Message-Id: <19990223144843.8754.qmail@squirrel.tgsoft.com> Date: 23 Feb 1999 14:48:43 -0000 From: thompson@tgsoft.com Reply-To: thompson@tgsoft.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/10225: ctype NIT Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10225 >Category: bin >Synopsis: isxdigit fails POLA, does not match man page >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 23 06:50:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: mark thompson >Release: FreeBSD 2.2.7-RELEASE i386 (also 3.1) >Organization: T&G Software >Environment: several versions of FreeBSD >Description: The man page documents that isxdigit is true for 0-9a-fA-F, and this is in accord with both what you would expect, and common usage on other systems. However, testing and inspection of ctype.c show that it is not true for the digits 0-9. This leads to incompatibilites with both expectation and code from other systems. >How-To-Repeat: >Fix: --- /w/CVS/release/src/lib/libc/locale/ctype.c Thu May 26 21:56:44 1994 +++ /tmp/ctype.c Tue Feb 23 06:46:19 1999 @@ -57,8 +57,8 @@ _C, _C, _C, _C, _C, _C, _C, _C, _S|_B, _P, _P, _P, _P, _P, _P, _P, _P, _P, _P, _P, _P, _P, _P, _P, - _N, _N, _N, _N, _N, _N, _N, _N, - _N, _N, _P, _P, _P, _P, _P, _P, + _N|_X, _N|_X, _N|_X, _N|_X, _N|_X, _N|_X, _N|_X, _N|_X, + _N|_X, _N|_X, _P, _P, _P, _P, _P, _P, _P, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U, _U, _U, _U, _U, _U, _U, _U, _U, _U, _U, _U, _U, _U, _U, _U, _U, >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message