APR functions (grumble). This is needed for apr_stat, which will be in
the suexec path coming up.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86710
13f79535-47bb-0310-9956-
ffa450edef68
return NULL;
}
-void unixd_pre_config(void)
+void unixd_pre_config(apr_pool_t *ptemp)
{
unixd_config.user_name = DEFAULT_USER;
unixd_config.user_id = ap_uname2id(DEFAULT_USER);
extern unixd_config_rec unixd_config;
int unixd_setup_child(void);
-void unixd_pre_config(void);
+void unixd_pre_config(apr_pool_t *ptemp);
const char *unixd_set_user(cmd_parms *cmd, void *dummy, const char *arg);
const char *unixd_set_group(cmd_parms *cmd, void *dummy, const char *arg);
#if defined(RLIMIT_CPU) || defined(RLIMIT_DATA) || defined(RLIMIT_VMEM) || \
my_pid = getpid();
}
- unixd_pre_config();
+ unixd_pre_config(ptemp);
ap_listen_pre_config();
num_daemons = DEFAULT_NUM_DAEMON;
threads_to_start = DEFAULT_START_THREAD;
my_pid = getpid();
}
- unixd_pre_config();
+ unixd_pre_config(ptemp);
ap_listen_pre_config();
num_daemons = DEFAULT_NUM_DAEMON;
threads_to_start = DEFAULT_START_THREAD;
ap_my_pid = getpid();
}
- unixd_pre_config();
+ unixd_pre_config(ptemp);
ap_listen_pre_config();
ap_daemons_to_start = DEFAULT_START_DAEMON;
min_spare_threads = DEFAULT_MIN_FREE_DAEMON * DEFAULT_THREADS_PER_CHILD;
my_pid = getpid();
}
- unixd_pre_config();
+ unixd_pre_config(ptemp);
ap_listen_pre_config();
num_daemons = DEFAULT_NUM_DAEMON;
threads_to_start = DEFAULT_START_THREAD;
ap_my_pid = getpid();
}
- unixd_pre_config();
+ unixd_pre_config(ptemp);
ap_listen_pre_config();
ap_daemons_to_start = DEFAULT_START_DAEMON;
ap_daemons_min_free = DEFAULT_MIN_FREE_DAEMON;