stas Thu Aug 28 07:50:33 2003 EDT
Modified files:
/php-src/sapi/cli php_cli.c
Log:
MF4: -m fix for premature extension unloading
Index: php-src/sapi/cli/php_cli.c
diff -u php-src/sapi/cli/php_cli.c:1.101 php-src/sapi/cli/php_cli.c:1.102
--- php-src/sapi/cli/php_cli.c:1.101 Sun Aug 24 09:10:02 2003
+++ php-src/sapi/cli/php_cli.c Thu Aug 28 07:50:32 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_cli.c,v 1.101 2003/08/24 13:10:02 helly Exp $ */
+/* $Id: php_cli.c,v 1.102 2003/08/28 11:50:32 stas Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -166,6 +166,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