]> git.pld-linux.org Git - packages/php.git/commitdiff
- fix from bug #35009: ZTS: Persistent resource destruct crashes when extension is...
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 8 Nov 2005 18:33:40 +0000 (18:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-bug-35009.patch -> 1.1

php-bug-35009.patch [new file with mode: 0644]

diff --git a/php-bug-35009.patch b/php-bug-35009.patch
new file mode 100644 (file)
index 0000000..ef08ed8
--- /dev/null
@@ -0,0 +1,35 @@
+
+===================================================================
+RCS file: /repository/ZendEngine2/zend.c,v
+retrieving revision 1.287.2.12
+retrieving revision 1.287.2.14
+diff -p --unified=3 -r1.287.2.12 -r1.287.2.14
+--- ./Zend/zend.c      2005/07/22 07:33:27     1.287.2.12
++++ ./Zend/zend.c      2005/11/07 12:25:21     1.287.2.14
+@@ -17,7 +17,7 @@
+    +----------------------------------------------------------------------+
+ */
+
+-/* $Id$ */
++/* $Id$ */
+
+ #include "zend.h"
+ #include "zend_extensions.h"
+@@ -693,9 +693,7 @@ void zend_shutdown(TSRMLS_D)
+ #ifdef ZEND_WIN32
+       zend_shutdown_timeout_thread();
+ #endif
+-#ifndef ZTS
+       zend_destroy_rsrc_list(&EG(persistent_list) TSRMLS_CC);
+-#endif
+       zend_hash_graceful_reverse_destroy(&module_registry);
+
+       zend_hash_destroy(GLOBAL_FUNCTION_TABLE);
+@@ -711,7 +709,6 @@ void zend_shutdown(TSRMLS_D)
+       free(GLOBAL_FUNCTION_TABLE);
+       free(GLOBAL_CLASS_TABLE);
+ #ifdef ZTS
+-      zend_destroy_rsrc_list(&EG(persistent_list) TSRMLS_CC);
+       zend_hash_destroy(GLOBAL_CONSTANTS_TABLE);
+       free(GLOBAL_CONSTANTS_TABLE);
+       GLOBAL_FUNCTION_TABLE = NULL;
This page took 0.592693 seconds and 4 git commands to generate.