derick          Thu Jun  2 04:50:54 2005 EDT

  Modified files:              (Branch: PHP_4_3)
    /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.333.2.51&r2=1.333.2.52&ty=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.333.2.51 
php-src/ext/standard/string.c:1.333.2.52
--- php-src/ext/standard/string.c:1.333.2.51    Thu Jun  2 04:31:38 2005
+++ php-src/ext/standard/string.c       Thu Jun  2 04:50:52 2005
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: string.c,v 1.333.2.51 2005/06/02 08:31:38 derick Exp $ */
+/* $Id: string.c,v 1.333.2.52 2005/06/02 08:50:52 derick Exp $ */
 
 /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
 
@@ -1317,8 +1317,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;
                }
 
@@ -1339,8 +1337,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

Reply via email to