bjh 99/12/19 00:33:53
Modified: src/lib/apr/threadproc/os2 proc.c Log: Adapt to change where arg[0] to ap_create_process() now contains the program name. Revision Changes Path 1.11 +2 -1 apache-2.0/src/lib/apr/threadproc/os2/proc.c Index: proc.c =================================================================== RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/os2/proc.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- proc.c 1999/11/03 08:06:00 1.10 +++ proc.c 1999/12/19 08:33:52 1.11 @@ -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 @@ newargs[numargs++] = "/c"; newargs[numargs++] = newprogname = ap_pstrdup(cont, progname); - arg = 0; + arg = 1; while (args && args[arg]) { newargs[numargs++] = args[arg++];