dmitry          Fri Aug 15 07:30:50 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/sapi/cgi   cgi_main.c 
  Log:
  Fixed double call to MSHUTDOWN in case of `php-cgi -m`
  
  
http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.267.2.15.2.50.2.23&r2=1.267.2.15.2.50.2.24&diff_format=u
Index: php-src/sapi/cgi/cgi_main.c
diff -u php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.23 
php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.24
--- php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.23    Wed Aug 13 00:53:28 2008
+++ php-src/sapi/cgi/cgi_main.c Fri Aug 15 07:30:50 2008
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: cgi_main.c,v 1.267.2.15.2.50.2.23 2008/08/13 00:53:28 jani Exp $ */
+/* $Id: cgi_main.c,v 1.267.2.15.2.50.2.24 2008/08/15 07:30:50 dmitry Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -247,6 +247,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

Reply via email to