Re: cvs: php-src(PHP_4_3) /ext/standard file.c
| From: | Moriyoshi Koizumi | Date: | Mon, 08 Dec 2003 06:40:23 +0000 |
| Subject: | Re: cvs: php-src(PHP_4_3) /ext/standard file.c | ||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-25069@lists.php.net to get a copy of this message | ||
On 2003/12/08, at 8:50, Ilia Alshanetsky wrote:
While I cannot speak for behavior of the win32 libc library I've just tested a simple C program with positive & negative ranges for the values of isspace(). In glibc 2.2.X, 2.3.X, libc4 (FreeBSD 4.7), libc5 (FreeBSD 5.1) the function works properly without long winded casts.See also those patches on the libc in the FreeBSD tree: [1.2 - 1.3] * Move more stuff out to XPG4 * Handle negative chars inside runetype/tolower/toupper http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/locale/runetype.c.diff?r1=1.2&r2=1.3&f=h [1.3 - 1.4] * Remove half-dancing solution for signed chars to help finding POSIXly-incorrect programs. http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/locale/runetype.c.diff?r1=1.3&r2=1.4&f=h And I already noted that the GNU libc kindly takes care of non-standard-compliant codes. Moriyoshi