stas Thu Aug 28 07:34:51 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src/sapi/cli php_cli.c
Log:
Null dtor so that extensions won't be unloaded prematurely by list
destruction
Index: php-src/sapi/cli/php_cli.c
diff -u php-src/sapi/cli/php_cli.c:1.51.2.28 php-src/sapi/cli/php_cli.c:1.51.2.29
--- php-src/sapi/cli/php_cli.c:1.51.2.28 Tue Aug 12 21:30:39 2003
+++ php-src/sapi/cli/php_cli.c Thu Aug 28 07:34:51 2003
@@ -164,6 +164,7 @@
zend_llist sorted_exts;
zend_llist_copy(&sorted_exts, &zend_extensions);
+ sorted_exts.dtor = NULL;
zend_llist_sort(&sorted_exts, extension_name_cmp TSRMLS_CC);
zend_llist_apply_with_argument(&sorted_exts, (llist_apply_with_arg_func_t)
print_extension_info, NULL TSRMLS_CC);
zend_llist_destroy(&sorted_exts);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php