Date: 23 Feb 1999 14:48:43 -0000 From: thompson@tgsoft.com To: FreeBSD-gnats-submit@freebsd.org Subject: bin/10225: ctype NIT Message-ID: <19990223144843.8754.qmail@squirrel.tgsoft.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990223144843.8754.qmail>