From a940266a54fb4536bc3cdec150d156fc189f32b4 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Thu, 14 Mar 2002 22:19:14 +0000 Subject: [PATCH] deal with the rename of kill_after_timeout to APR_KILL_AFTER_TIMEOUT git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93940 13f79535-47bb-0310-9956-ffa450edef68 --- modules/experimental/mod_ext_filter.c | 2 +- modules/generators/mod_cgi.c | 2 +- modules/generators/mod_cgid.c | 2 +- modules/mappers/mod_rewrite.c | 2 +- modules/metadata/mod_mime_magic.c | 2 +- modules/ssl/ssl_engine_pphrase.c | 2 +- server/log.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/experimental/mod_ext_filter.c b/modules/experimental/mod_ext_filter.c index baff954ca1..f425b5b352 100644 --- a/modules/experimental/mod_ext_filter.c +++ b/modules/experimental/mod_ext_filter.c @@ -416,7 +416,7 @@ static apr_status_t init_ext_filter_process(ap_filter_t *f) return rc; } - apr_pool_note_subprocess(ctx->p, ctx->proc, kill_after_timeout); + apr_pool_note_subprocess(ctx->p, ctx->proc, APR_KILL_AFTER_TIMEOUT); /* We don't want the handle to the child's stdin inherited by any * other processes created by httpd. Otherwise, when we close our diff --git a/modules/generators/mod_cgi.c b/modules/generators/mod_cgi.c index 400180d68b..abc5107b80 100644 --- a/modules/generators/mod_cgi.c +++ b/modules/generators/mod_cgi.c @@ -462,7 +462,7 @@ static apr_status_t run_cgi_child(apr_file_t **script_out, "couldn't create child process: %d: %s", rc, r->filename); } else { - apr_pool_note_subprocess(p, procnew, kill_after_timeout); + apr_pool_note_subprocess(p, procnew, APR_KILL_AFTER_TIMEOUT); *script_in = procnew->out; if (!*script_in) diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index 27a2346c42..de1d55afd7 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -677,7 +677,7 @@ static int cgid_init(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, procnew = apr_pcalloc(p, sizeof(*procnew)); procnew->pid = daemon_pid; procnew->err = procnew->in = procnew->out = NULL; - apr_pool_note_subprocess(p, procnew, kill_after_timeout); + apr_pool_note_subprocess(p, procnew, APR_KILL_AFTER_TIMEOUT); #if APR_HAS_OTHER_CHILD apr_proc_other_child_register(procnew, cgid_maint, &procnew->pid, NULL, p); #endif diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index 2408dd0f4b..d4196b0d4a 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -3378,7 +3378,7 @@ static apr_status_t rewritemap_program_child(apr_pool_t *p, const char *progname rc = apr_proc_create(procnew, progname, NULL, NULL, procattr, p); if (rc == APR_SUCCESS) { - apr_pool_note_subprocess(p, procnew, kill_after_timeout); + apr_pool_note_subprocess(p, procnew, APR_KILL_AFTER_TIMEOUT); if (fpin) { (*fpin) = procnew->in; diff --git a/modules/metadata/mod_mime_magic.c b/modules/metadata/mod_mime_magic.c index bbaec55aa3..35bf14041b 100644 --- a/modules/metadata/mod_mime_magic.c +++ b/modules/metadata/mod_mime_magic.c @@ -2195,7 +2195,7 @@ static int create_uncompress_child(struct uncompress_parms *parm, apr_pool_t *cn compr[parm->method].argv[0]); } else { - apr_pool_note_subprocess(child_context, procnew, kill_after_timeout); + apr_pool_note_subprocess(child_context, procnew, APR_KILL_AFTER_TIMEOUT); *pipe_in = procnew->out; } } diff --git a/modules/ssl/ssl_engine_pphrase.c b/modules/ssl/ssl_engine_pphrase.c index cfeee51b39..0348dfa758 100644 --- a/modules/ssl/ssl_engine_pphrase.c +++ b/modules/ssl/ssl_engine_pphrase.c @@ -569,7 +569,7 @@ static apr_status_t ssl_pipe_child_create(apr_pool_t *p, const char *progname) NULL, procattr, p); if (rc == APR_SUCCESS) { /* XXX: not sure if we aught to... - * apr_pool_note_subprocess(p, procnew, kill_after_timeout); + * apr_pool_note_subprocess(p, procnew, APR_KILL_AFTER_TIMEOUT); */ writetty = procnew->in; readtty = procnew->out; diff --git a/server/log.c b/server/log.c index fbc12ee919..c8edf972f3 100644 --- a/server/log.c +++ b/server/log.c @@ -212,7 +212,7 @@ static int log_child(apr_pool_t *p, const char *progname, NULL, procattr, p); if (rc == APR_SUCCESS) { - apr_pool_note_subprocess(p, procnew, kill_after_timeout); + apr_pool_note_subprocess(p, procnew, APR_KILL_AFTER_TIMEOUT); (*fpin) = procnew->in; } } -- 2.40.0