summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-02-26 19:38:41 +0000
committerAndi Gutmans <andi@php.net>2002-02-26 19:38:41 +0000
commitc456da514ce22e2d9a5510e831d480479a8c9646 (patch)
treeb6964f65f3e74372f876dcef91a4457569f8dc11 /main/main.c
parent1b32da412d9c12c55d6f13f19562fd4f21aec8a6 (diff)
downloadphp-git-c456da514ce22e2d9a5510e831d480479a8c9646.tar.gz
- Hopefully fix the shutdown_memory_manager() stuff. Part of my previous
- patch seems to have gotten lost
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c
index f756479fc1..e09e9765e7 100644
--- a/main/main.c
+++ b/main/main.c
@@ -696,8 +696,10 @@ int php_request_startup(TSRMLS_D)
/* {{{ php_request_shutdown_for_exec
*/
-void php_request_shutdown_for_exec(void *dummy TSRMLS_DC)
+void php_request_shutdown_for_exec(void *dummy)
{
+ TSRMLS_FETCH();
+
/* used to close fd's in the 3..255 range here, but it's problematic
*/
shutdown_memory_manager(1, 1 TSRMLS_CC);