]> granicus.if.org Git - php/commitdiff
MFH: initialize EG(exit_status) in ZTS mode
authorAntony Dovgal <tony2001@php.net>
Wed, 12 Jul 2006 18:10:56 +0000 (18:10 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 12 Jul 2006 18:10:56 +0000 (18:10 +0000)
Zend/zend.c

index 2604bd7d4333e3dfa3b4cc0bd545cac0321ccf00..86c9c57b88a2c0e47d8e43e652bc051e49d46289 100644 (file)
@@ -503,6 +503,7 @@ static void executor_globals_ctor(zend_executor_globals *executor_globals TSRMLS
        EG(in_autoload) = NULL;
        EG(current_execute_data) = NULL;
        EG(current_module) = NULL;
+       EG(exit_status) = 0;
 }