rasmus Thu May 24 20:56:20 2007 UTC Modified files: /php-src/ext/standard string.c Log: MFB 5_2 http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.635&r2=1.636&diff_format=u Index: php-src/ext/standard/string.c diff -u php-src/ext/standard/string.c:1.635 php-src/ext/standard/string.c:1.636 --- php-src/ext/standard/string.c:1.635 Thu May 10 22:08:35 2007 +++ php-src/ext/standard/string.c Thu May 24 20:56:20 2007 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.635 2007/05/10 22:08:35 tony2001 Exp $ */ +/* $Id: string.c,v 1.636 2007/05/24 20:56:20 rasmus Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -4734,7 +4734,7 @@ php_charmask((unsigned char*)what, wlength, flags TSRMLS_CC); - for (source = str, end = source + length, target = new_str; (c = *source) || (source < end); source++) { + for (source = str, end = source + length, target = new_str; source < end; source++) { if (flags[(unsigned char)c]) { if ((unsigned char) c < 32 || (unsigned char) c > 126) { *target++ = '\\';
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php