CVS update: php31/main
| From: | zeev | Date: | Fri, 21 Aug 1998 19:17:37 +0000 |
| Subject: | CVS update: php31/main | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-440@lists.php.net to get a copy of this message | ||
Date: Friday August 21, 1998 @ 15:17
Author: zeev
Update of /repository/php31/main
In directory asf:/tmp/cvs-serv2030/main
Modified Files:
main.c main.h
Log Message:
3.0 patch imported - allow shutdown functions to generate output in the Apache module
Index: php31/main/main.c
diff -c php31/main/main.c:2.17 php31/main/main.c:2.18
*** php31/main/main.c:2.17 Fri Aug 21 13:37:06 1998
--- php31/main/main.c Fri Aug 21 15:17:36 1998
***************
*** 29,35 ****
+----------------------------------------------------------------------+
*/
! /* $Id: main.c,v 2.17 1998/08/21 17:37:06 zeev Exp $ */
/* #define CRASH_DETECTION */
--- 29,35 ----
+----------------------------------------------------------------------+
*/
! /* $Id: main.c,v 2.18 1998/08/21 19:17:36 zeev Exp $ */
/* #define CRASH_DETECTION */
***************
*** 1710,1715 ****
--- 1710,1716 ----
debug_log("%d:start request shutdown\n",GetCurrentThreadId());
#endif
php3_header(); /* Make sure headers have been sent */
+ php3_call_shutdown_functions();
php3_request_shutdown((void *) GLOBAL(sapi_rqst) _INLINE_TLS);
#if defined(CRASH_DETECTION)
debug_log("%d:request shutdown done\n",GetCurrentThreadId());
Index: php31/main/main.h
diff -c php31/main/main.h:2.5 php31/main/main.h:2.6
*** php31/main/main.h:2.5 Fri Aug 21 12:41:05 1998
--- php31/main/main.h Fri Aug 21 15:17:37 1998
***************
*** 29,35 ****
*/
! /* $Id: main.h,v 2.5 1998/08/21 16:41:05 shane Exp $ */
#ifndef _MAIN_H
--- 29,35 ----
*/
! /* $Id: main.h,v 2.6 1998/08/21 19:17:37 zeev Exp $ */
#ifndef _MAIN_H
***************
*** 86,90 ****
--- 86,91 ----
extern unsigned char header_is_being_sent;
#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