rasmus Thu May 24 21:31:35 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.636&r2=1.637&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.636 php-src/ext/standard/string.c:1.637
--- php-src/ext/standard/string.c:1.636 Thu May 24 20:56:20 2007
+++ php-src/ext/standard/string.c Thu May 24 21:31:35 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.636 2007/05/24 20:56:20 rasmus Exp $ */
+/* $Id: string.c,v 1.637 2007/05/24 21:31:35 rasmus Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -4735,6 +4735,7 @@
php_charmask((unsigned char*)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