[PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard string.c
by Ilia Alshanetsky other posts by this author
Dec 13 2006 7:39AM messages near this date
[PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /sapi/apache2filter sapi_apache2.c
|
[PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard basic_functions.c /ext/wddx wddx.c
iliaa Wed Dec 13 15:39:12 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard string.c
Log:
Removed deadcode found by Ron Korving
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.30&r2=1.445.2.14
.2.31&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.445.2.14.2.30 php-src/ext/standard/string.c:1.445.2.
14.2.31
--- php-src/ext/standard/string.c:1.445.2.14.2.30 Mon Dec 4 18:35:42 2006
+++ php-src/ext/standard/string.c Wed Dec 13 15:39:12 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.445.2.14.2.30 2006/12/04 18:35:42 stas Exp $ */
+/* $Id: string.c,v 1.445.2.14.2.31 2006/12/13 15:39:12 iliaa Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -2995,10 +2995,6 @@
wlength = strlen(what);
}
- if (!length) {
- length = strlen(str);
- }
-
php_charmask(what, wlength, flags TSRMLS_CC);
for (source = str, end = source + length, target = new_str; (c = *source) || (source < end
); source++) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|