Would this solve the problem? Index: main/main.c =================================================================== RCS file: /repository/php4/main/main.c,v retrieving revision 1.520 diff -u -r1.520 main.c --- main/main.c 16 Dec 2002 15:43:52 -0000 1.520 +++ main/main.c 19 Dec 2002 13:06:45 -0000 @@ -1337,9 +1337,9 @@ php_shutdown_ticks(TSRMLS_C); sapi_flush(TSRMLS_C);
+ php_shutdown_stream_wrappers(module_number TSRMLS_CC); zend_shutdown(TSRMLS_C); - php_shutdown_stream_wrappers(module_number TSRMLS_CC); php_shutdown_info_logos(); UNREGISTER_INI_ENTRIES(); On Thu, 19 Dec 2002, Edin Kadribasic wrote: > > >Sorry, I'm still unsure if my patch is the correct one, as I said in the > > >first mail. As far as I've looked into it, the streams seem to be > > >destructed and freed twice, once in deactivation and once in shutdown. > > >If you think my patch is bogus, feel free to revert it unless I can give > > >more reasonable explanation. > > I comitted tha patch and I'll revert it. Just to clarify one thing: > constanst throuout PHP should be created as CONST_PERSISTENT? > > Edin > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > > >
Index: main/main.c =================================================================== RCS file: /repository/php4/main/main.c,v retrieving revision 1.520 diff -u -r1.520 main.c --- main/main.c 16 Dec 2002 15:43:52 -0000 1.520 +++ main/main.c 19 Dec 2002 13:07:04 -0000 @@ -1337,9 +1337,9 @@ php_shutdown_ticks(TSRMLS_C); sapi_flush(TSRMLS_C); + php_shutdown_stream_wrappers(module_number TSRMLS_CC); zend_shutdown(TSRMLS_C); - php_shutdown_stream_wrappers(module_number TSRMLS_CC); php_shutdown_info_logos(); UNREGISTER_INI_ENTRIES();
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php