cvs: ZendEngine2(PHP_5_0) / zend.c zend_execute_API.c
| From: | Dmitry Stogov | Date: | Thu, 09 Jun 2005 16:57:01 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_0) / zend.c zend_execute_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3780@lists.php.net to get a copy of this message | ||
dmitry Thu Jun 9 12:57:01 2005 EDT
Modified files: (Branch: PHP_5_0)
/ZendEngine2 zend.c zend_execute_API.c
Log:
Fixed double call to php_stream_close() on compiler errors
http://cvs.php.net/diff.php/ZendEngine2/zend.c?r1=1.287.2.10&r2=1.287.2.11&ty=u
Index: ZendEngine2/zend.c
diff -u ZendEngine2/zend.c:1.287.2.10 ZendEngine2/zend.c:1.287.2.11
--- ZendEngine2/zend.c:1.287.2.10 Thu Jun 9 06:14:01 2005
+++ ZendEngine2/zend.c Thu Jun 9 12:56:59 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.c,v 1.287.2.10 2005/06/09 10:14:01 dmitry Exp $ */
+/* $Id: zend.c,v 1.287.2.11 2005/06/09 16:56:59 dmitry Exp $ */
#include "zend.h"
#include "zend_extensions.h"
@@ -827,6 +827,8 @@
shutdown_compiler(TSRMLS_C);
} zend_end_try();
+ zend_destroy_rsrc_list(&EG(regular_list) TSRMLS_CC);
+
zend_try {
zend_ini_deactivate(TSRMLS_C);
} zend_end_try();
http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.287.2.19&r2=1.287.2.20&ty=u
Index: ZendEngine2/zend_execute_API.c
diff -u ZendEngine2/zend_execute_API.c:1.287.2.19 ZendEngine2/zend_execute_API.c:1.287.2.20
--- ZendEngine2/zend_execute_API.c:1.287.2.19 Wed Jun 8 09:21:00 2005
+++ ZendEngine2/zend_execute_API.c Thu Jun 9 12:56:59 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute_API.c,v 1.287.2.19 2005/06/08 13:21:00 dmitry Exp $ */
+/* $Id: zend_execute_API.c,v 1.287.2.20 2005/06/09 16:56:59 dmitry Exp $ */
#include <stdio.h>
#include <signal.h>
@@ -285,11 +285,6 @@
clean_non_persistent_constants(TSRMLS_C);
} zend_end_try();
- /* The regular list must be destroyed after the main symbol table,
- * op arrays, and constants are destroyed.
- */
- zend_destroy_rsrc_list(&EG(regular_list) TSRMLS_CC);
-
zend_try {
#if ZEND_DEBUG
signal(SIGSEGV, original_sigsegv_handler);