CVS update: php3
| From: | shane | Date: | Fri, 04 Sep 1998 19:16:08 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-811@lists.php.net to get a copy of this message | ||
Date: Friday September 4, 1998 @ 15:16
Author: shane
Update of /repository/php3
In directory asf:/u2/tmp/cvs-serv9154
Modified Files:
main.c
Log Message:
fix closing dl's too soon. Need to destruct lists first.
Index: php3/main.c
diff -c php3/main.c:1.465 php3/main.c:1.466
*** php3/main.c:1.465 Thu Aug 27 00:23:53 1998
--- php3/main.c Fri Sep 4 15:16:06 1998
***************
*** 29,35 ****
+----------------------------------------------------------------------+
*/
! /* $Id: main.c,v 1.465 1998/08/27 04:23:53 rasmus Exp $ */
/* #define CRASH_DETECTION */
--- 29,35 ----
+----------------------------------------------------------------------+
*/
! /* $Id: main.c,v 1.466 1998/09/04 19:16:06 shane Exp $ */
/* #define CRASH_DETECTION */
***************
*** 702,710 ****
#endif
/* clean temporary dl's, run request shutdown's for modules */
SHUTDOWN_DEBUG("Dynamic modules");
_php3_hash_apply(&GLOBAL(module_registry), (int (*)(void *)) module_registry_cleanup);
!
if (GLOBAL(initialized) & INIT_SYMBOL_TABLE) {
SHUTDOWN_DEBUG("Symbol table");
_php3_hash_destroy(&GLOBAL(symbol_table));
--- 702,713 ----
#endif
/* clean temporary dl's, run request shutdown's for modules */
+ /* this should actualy be after the list destructor. moving, but keeping
+ remarked out here. It's causing errors in a couple modules on windows
+ having this too soon.
SHUTDOWN_DEBUG("Dynamic modules");
_php3_hash_apply(&GLOBAL(module_registry), (int (*)(void *)) module_registry_cleanup);
! */
if (GLOBAL(initialized) & INIT_SYMBOL_TABLE) {
SHUTDOWN_DEBUG("Symbol table");
_php3_hash_destroy(&GLOBAL(symbol_table));
***************
*** 793,798 ****
--- 796,804 ----
GLOBAL(initialized) &= ~INIT_LIST;
}
+ /* clean temporary dl's, run request shutdown's for modules */
+ SHUTDOWN_DEBUG("Dynamic modules");
+ _php3_hash_apply(&GLOBAL(module_registry), (int (*)(void *)) module_registry_cleanup);
if (GLOBAL(module_initialized) & INIT_CONSTANTS) {
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net