diff options
author | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 1999-12-19 08:33:52 +0000 |
---|---|---|
committer | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 1999-12-19 08:33:52 +0000 |
commit | a4392c3bfa4d290a82ad878e64d333116327f189 (patch) | |
tree | d82a4e1bf5217075e12196b3eee34f0de73eb0ef /threadproc/os2 | |
parent | 3334b290b0f8d0c4e59dc94f01cf1e0c62e6e2e8 (diff) | |
download | libapr-a4392c3bfa4d290a82ad878e64d333116327f189.tar.gz |
Adapt to change where arg[0] to ap_create_process() now contains the
program name.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59537 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/os2')
-rw-r--r-- | threadproc/os2/proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/threadproc/os2/proc.c b/threadproc/os2/proc.c index 17e26bd04..b6f3cd3e7 100644 --- a/threadproc/os2/proc.c +++ b/threadproc/os2/proc.c @@ -56,6 +56,7 @@ #include "threadproc.h" #include "fileio.h" +#include "apr_config.h" #include "apr_thread_proc.h" #include "apr_file_io.h" #include "apr_general.h" @@ -314,7 +315,7 @@ ap_status_t ap_create_process(struct proc_t **new, const char *progname, newargs[numargs++] = "/c"; newargs[numargs++] = newprogname = ap_pstrdup(cont, progname); - arg = 0; + arg = 1; while (args && args[arg]) { newargs[numargs++] = args[arg++]; |