dmitry          Fri Aug 15 07:31:08 2008 UTC

  Modified files:              
    /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.360&r2=1.361&diff_format=u
Index: php-src/sapi/cgi/cgi_main.c
diff -u php-src/sapi/cgi/cgi_main.c:1.360 php-src/sapi/cgi/cgi_main.c:1.361
--- php-src/sapi/cgi/cgi_main.c:1.360   Wed Aug 13 00:49:59 2008
+++ php-src/sapi/cgi/cgi_main.c Fri Aug 15 07:31:07 2008
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: cgi_main.c,v 1.360 2008/08/13 00:49:59 jani Exp $ */
+/* $Id: cgi_main.c,v 1.361 2008/08/15 07:31:07 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