CVS update: php3

From: Date: Sun, 11 Oct 1998 12:54:24 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-1814@lists.php.net to get a copy of this message
Date: Sunday October 11, 1998 @ 8:54 Author: zeev Update of /repository/php3 In directory asf:/u2/tmp/cvs-serv29820 Modified Files: ChangeLog main.c Log Message: shutdown function fixes for the CGI version, and generalization Index: php3/ChangeLog diff -c php3/ChangeLog:1.508 php3/ChangeLog:1.509 *** php3/ChangeLog:1.508 Sat Oct 10 21:21:38 1998 --- php3/ChangeLog Sun Oct 11 08:54:22 1998 *************** *** 1,6 **** --- 1,9 ---- 'PHP 3.0 CHANGE LOG ChangeLog ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ??, Version 3.0.6 + <<<<<<< ChangeLog + - In the CGI version, it was impossible to access resources (e.g. SQL links, + images) from user-defined shutdown functions. Fixed. - Added optional third parameter to strpos() to specify the offset to start searching from. - Fixed a crash bug in unset() when unsetting illegal variables (rare). Index: php3/main.c diff -c php3/main.c:1.472 php3/main.c:1.473 *** php3/main.c:1.472 Sat Oct 3 15:43:18 1998 --- php3/main.c Sun Oct 11 08:54:23 1998 *************** *** 29,35 **** +----------------------------------------------------------------------+ */ ! /* $Id: main.c,v 1.472 1998/10/03 19:43:18 zeev Exp $ */ /* #define CRASH_DETECTION */ --- 29,35 ---- +----------------------------------------------------------------------+ */ ! /* $Id: main.c,v 1.473 1998/10/11 12:54:23 zeev Exp $ */ /* #define CRASH_DETECTION */ *************** *** 701,706 **** --- 701,708 ---- } #endif + php3_call_shutdown_functions(); + if (GLOBAL(initialized) & INIT_LIST) { SHUTDOWN_DEBUG("Resource list"); destroy_resource_list(); *************** *** 1849,1855 **** } if (GLOBAL(initialized)) { php3_header(); /* Make sure headers have been sent */ - php3_call_shutdown_functions(); } return (OK); } --- 1851,1856 ---- -- 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

« previous php.dev (#1814) next »