diff options
author | Ryan Bloom <rbb@apache.org> | 2000-06-20 19:16:11 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-06-20 19:16:11 +0000 |
commit | 83e9929da505e0c12a859c1ab82b62ba61df1991 (patch) | |
tree | 0a136c5f472c68618c6a94a24d146e3f5dfd8648 /threadproc/unix/proc.c | |
parent | 6925ff859af7bee8385a5ed88944e9f9fcc1dc7c (diff) | |
download | apr-83e9929da505e0c12a859c1ab82b62ba61df1991.tar.gz apr-83e9929da505e0c12a859c1ab82b62ba61df1991.zip |
Remove unixd_detach function, because it is provided by APR as ap_detach.
This also modifies the ap_detach function to look like unixd_detach.
Finally all calls to unixd_detach are changed to ap_detach.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60234 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/unix/proc.c')
-rw-r--r-- | threadproc/unix/proc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/threadproc/unix/proc.c b/threadproc/unix/proc.c index c74fdc0d6..2c96c8aa9 100644 --- a/threadproc/unix/proc.c +++ b/threadproc/unix/proc.c @@ -261,7 +261,6 @@ ap_status_t ap_create_process(ap_proc_t *new, const char *progname, int i; typedef const char *my_stupid_string; my_stupid_string *newargs; - ap_proc_t pgrp; new->in = attr->parent_in; new->err = attr->parent_err; @@ -320,13 +319,13 @@ ap_status_t ap_create_process(ap_proc_t *new, const char *progname, } newargs[i + 3] = NULL; if (attr->detached) { - ap_detach(&pgrp, attr->cntxt); + ap_detach(); } execve(SHELL_PATH, (char **) newargs, env); } else { if (attr->detached) { - ap_detach(&pgrp, attr->cntxt); + ap_detach(); } execve(progname, args, env); } |