CVS update: php3

From: Date: Fri, 21 Aug 1998 19:12:27 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-436@lists.php.net to get a copy of this message
Date: Friday August 21, 1998 @ 15:12 Author: zeev Update of /repository/php3 In directory asf:/tmp/cvs-serv1986 Modified Files: ChangeLog main.c main.h Log Message: Shutdown functions could not generate output - fixed. Index: php3/ChangeLog diff -c php3/ChangeLog:1.457 php3/ChangeLog:1.458 *** php3/ChangeLog:1.457 Fri Aug 21 12:38:15 1998 --- php3/ChangeLog Fri Aug 21 15:12:26 1998 *************** *** 1,6 **** --- 1,8 ---- PHP 3.0 CHANGE LOG ChangeLog ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? Version 3.0.4 + - Shutdown functions, registered via register_shutdown_function(), could never + generate output in the Apache module version. Fixed. - Brought IMAP docs into sync with acutal imap code - imap_fetchstructure now takes in optional flags - Fix potential core dumps in imap_append and imap_fetchtext_full Index: php3/main.c diff -c php3/main.c:1.462 php3/main.c:1.463 *** php3/main.c:1.462 Fri Aug 14 19:47:12 1998 --- php3/main.c Fri Aug 21 15:12:26 1998 *************** *** 29,35 **** +----------------------------------------------------------------------+ */ ! /* $Id: main.c,v 1.462 1998/08/14 23:47:12 steffann Exp $ */ /* #define CRASH_DETECTION */ --- 29,35 ---- +----------------------------------------------------------------------+ */ ! /* $Id: main.c,v 1.463 1998/08/21 19:12:26 zeev Exp $ */ /* #define CRASH_DETECTION */ *************** *** 1820,1831 **** } } (void) php3_parse(GLOBAL(phpin)); ! if (GLOBAL(php3_display_source)) { php3_printf("\n</html>\n"); } if (GLOBAL(initialized)) { php3_header(); /* Make sure headers have been sent */ } return (OK); } --- 1820,1832 ---- } } (void) php3_parse(GLOBAL(phpin)); ! if (GLOBAL(php3_display_source)) { php3_printf("\n</html>\n"); } if (GLOBAL(initialized)) { php3_header(); /* Make sure headers have been sent */ + php3_call_shutdown_functions(); } return (OK); } Index: php3/main.h diff -c php3/main.h:1.54 php3/main.h:1.55 *** php3/main.h:1.54 Tue Jul 28 18:00:04 1998 --- php3/main.h Fri Aug 21 15:12:27 1998 *************** *** 29,35 **** */ ! /* $Id: main.h,v 1.54 1998/07/28 22:00:04 rasmus Exp $ */ #ifndef _MAIN_H --- 29,35 ---- */ ! /* $Id: main.h,v 1.55 1998/08/21 19:12:27 zeev Exp $ */ #ifndef _MAIN_H *************** *** 82,86 **** --- 82,88 ---- extern unsigned char header_is_being_sent; extern int initialized; #endif + + extern void php3_call_shutdown_functions(); #endif -- 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 (#436) next »