From: Colm MacCarthaigh Date: Sat, 14 Jan 2006 12:53:04 +0000 (+0000) Subject: Add markers for non-threadsafe calls which need porting. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a836035c107088b2f0fe63f04465fc4e5000df8b;p=thirdparty%2Fapache%2Fhttpd.git Add markers for non-threadsafe calls which need porting. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/execd-dev@369017 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_ext_filter.c b/modules/filters/mod_ext_filter.c index c4f7fe4a2ee..807a43f13a4 100644 --- a/modules/filters/mod_ext_filter.c +++ b/modules/filters/mod_ext_filter.c @@ -414,6 +414,8 @@ static apr_status_t init_ext_filter_process(ap_filter_t *f) ef_dir_t *dc = ctx->dc; const char * const *env; + /* XXX TODO: port to execd calls */ + ctx->proc = apr_pcalloc(ctx->p, sizeof(*ctx->proc)); rc = apr_procattr_create(&ctx->procattr, ctx->p); diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index 9e094b33a6a..bbbc716e2df 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -1139,6 +1139,8 @@ static apr_status_t rewritemap_program_child(apr_pool_t *p, apr_procattr_t *procattr; apr_proc_t *procnew; + /* XXX TODO: port to execd calls */ + if ( APR_SUCCESS == (rc=apr_procattr_create(&procattr, p)) && APR_SUCCESS == (rc=apr_procattr_io_set(procattr, APR_FULL_BLOCK, APR_FULL_BLOCK, APR_NO_PIPE)) diff --git a/modules/metadata/mod_mime_magic.c b/modules/metadata/mod_mime_magic.c index b02c1876a19..a5510c77af0 100644 --- a/modules/metadata/mod_mime_magic.c +++ b/modules/metadata/mod_mime_magic.c @@ -2127,8 +2127,10 @@ static int create_uncompress_child(struct uncompress_parms *parm, apr_pool_t *cn apr_procattr_t *procattr; apr_proc_t *procnew; + /* XXX TODO: port to execd calls */ + /* XXX missing 1.3 logic: - * + * * what happens when !compr[parm->method].silent? * Should we create the err pipe, read it, and copy to the log? */ diff --git a/modules/ssl/ssl_util.c b/modules/ssl/ssl_util.c index 92289bdd021..13fddbfea97 100644 --- a/modules/ssl/ssl_util.c +++ b/modules/ssl/ssl_util.c @@ -66,6 +66,8 @@ apr_file_t *ssl_util_ppopen(server_rec *s, apr_pool_t *p, const char *cmd, apr_procattr_t *procattr; apr_proc_t *proc; + /* XXX TODO: port to execd calls */ + if (apr_procattr_create(&procattr, p) != APR_SUCCESS) return NULL; if (apr_procattr_io_set(procattr, APR_FULL_BLOCK, APR_FULL_BLOCK,