derick Thu Jun 2 04:51:11 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/standard string.c
Log:
- That should have been removed, not commented out.
http://cvs.php.net/diff.php/php-src/ext/standard/string.c?r1=1.420.2.10&r2=1.420.2.11&ty=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.420.2.10
php-src/ext/standard/string.c:1.420.2.11
--- php-src/ext/standard/string.c:1.420.2.10 Thu Jun 2 04:31:02 2005
+++ php-src/ext/standard/string.c Thu Jun 2 04:51:10 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.420.2.10 2005/06/02 08:31:02 derick Exp $ */
+/* $Id: string.c,v 1.420.2.11 2005/06/02 08:51:10 derick Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -1382,8 +1382,6 @@
if (!Z_STRLEN_PP(needle)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Empty
delimiter.");
efree(haystack_orig);
-// zval_ptr_dtor(haystack);
-// zval_ptr_dtor(needle);
RETURN_FALSE;
}
@@ -1409,8 +1407,6 @@
RETVAL_FALSE;
}
-// zval_ptr_dtor(haystack);
-// zval_ptr_dtor(needle);
efree(haystack_orig);
}
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php