summaryrefslogtreecommitdiff
path: root/threadproc/netware
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2003-02-06 18:50:30 +0000
committerJeff Trawick <trawick@apache.org>2003-02-06 18:50:30 +0000
commit52cf46542e61ed831db35f3efda92046063e8764 (patch)
tree9ac24e21d682e1a04d2d6583e8f9d8bb3b1f442f /threadproc/netware
parent853597c1d0a0706c2ec7e90415b0e1b8d0569f7f (diff)
downloadapr-52cf46542e61ed831db35f3efda92046063e8764.tar.gz
Allow apr_proc_create() to call an app-provided error reporting
function when apr_proc_create() fails in the new child process after fork(). The app-provided error reporting function will only be called on platforms where apr_proc_create() first calls fork() to create the new process. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64330 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/netware')
-rw-r--r--threadproc/netware/proc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/threadproc/netware/proc.c b/threadproc/netware/proc.c
index 4ca612d64..537d22e93 100644
--- a/threadproc/netware/proc.c
+++ b/threadproc/netware/proc.c
@@ -283,6 +283,13 @@ static apr_status_t limit_proc(apr_procattr_t *attr)
return APR_SUCCESS;
}
+APR_DECLARE(apr_status_t) apr_procattr_child_errfn_set(apr_procattr_t *attr,
+ apr_child_errfn_t *errfn)
+{
+ /* won't ever be called on this platform, so don't save the function pointer */
+ return APR_SUCCESS;
+}
+
APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *newproc,
const char *progname,
const char * const *args,