From 7629fa69eddb453498c33207eb93937568e9e44e Mon Sep 17 00:00:00 2001 From: robs Date: Tue, 24 Jun 2003 01:31:24 +0000 Subject: [PATCH] [WIN] Use a permanent pool for allocating the SystemRoot environment variable. Sakamoto [ringring@zb4.so-net.ne.jp] Modified Files: CHANGES fcgi_config.c --- CHANGES | 3 +++ fcgi_config.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 105df02..24309d0 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ 2.4.1 + *) [WIN] Use a permanent pool for allocating the SystemRoot + environment variable. Sakamoto [ringring@zb4.so-net.ne.jp] + *) [WIN] Fix starting of scripts under AP2. *) Do the connect() to the application *after* collecting a chunk diff --git a/fcgi_config.c b/fcgi_config.c index 3fd198a..c5c4ea9 100644 --- a/fcgi_config.c +++ b/fcgi_config.c @@ -1,5 +1,5 @@ /* - * $Id: fcgi_config.c,v 1.47 2003/02/04 00:54:11 robs Exp $ + * $Id: fcgi_config.c,v 1.48 2003/06/24 01:31:24 robs Exp $ */ #define CORE_PRIVATE @@ -659,7 +659,7 @@ const char *fcgi_config_new_static_server(cmd_parms *cmd, void *dummy, const cha // TCP FastCGI applications require SystemRoot be present in the environment // Put it in both for consistency to the application - fcgi_config_set_env_var(tp, envp, &envc, "SystemRoot"); + fcgi_config_set_env_var(p, envp, &envc, "SystemRoot"); mutex = CreateMutex(NULL, FALSE, fs_path); -- 2.11.4.GIT