rasmus Thu May 24 21:31:05 2007 UTC Modified files: (Branch: PHP_4_4) /php-src/ext/standard string.c Log: MFB 5_2 http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.333.2.52.2.12&r2=1.333.2.52.2.13&diff_format=u Index: php-src/ext/standard/string.c diff -u php-src/ext/standard/string.c:1.333.2.52.2.12 php-src/ext/standard/string.c:1.333.2.52.2.13 --- php-src/ext/standard/string.c:1.333.2.52.2.12 Thu May 24 20:54:36 2007 +++ php-src/ext/standard/string.c Thu May 24 21:31:05 2007 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.333.2.52.2.12 2007/05/24 20:54:36 rasmus Exp $ */ +/* $Id: string.c,v 1.333.2.52.2.13 2007/05/24 21:31:05 rasmus Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -2376,6 +2376,7 @@ php_charmask(what, wlength, flags TSRMLS_CC); for (source = str, end = source+length, target = new_str; source < end; source++) { + c = *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