Re: cvs: php-src(PHP_4_3) /ext/standard file.c

From: Date: Sun, 07 Dec 2003 23:50:34 +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-25066@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.
The vector-based table varies by the locale setting. And it really matters on win32. Why do you still want to keep it wrong? Even though you get the correct values, it's wrong usage anyway. If you don't like ugly casts, just use unsigned char in the first place, as I already mentioned. Moriyoshi

« previous php.cvs (#25066) next »