cvs: php-src(PHP_4_3) /sapi/cli php_cli.c

From: Date: Thu, 28 Aug 2003 11:34:51 +0000
Subject: cvs: php-src(PHP_4_3) /sapi/cli php_cli.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23426@lists.php.net to get a copy of this message
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);

« previous php.cvs (#23426) next »