brian 98/05/28 16:26:41
Modified: src/main util_script.c Log: Submitted by: W G Stoddard <[EMAIL PROTECTED]> Reviewed by: Dean Gaudet, Brian Behlendorf Have NT properly set the directory for CGI scripts (& other spawned children) Revision Changes Path 1.115 +2 -1 apache-1.3/src/main/util_script.c Index: util_script.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/main/util_script.c,v retrieving revision 1.114 retrieving revision 1.115 diff -u -r1.114 -r1.115 --- util_script.c 1998/05/28 23:14:11 1.114 +++ util_script.c 1998/05/28 23:26:41 1.115 @@ -888,7 +888,8 @@ } if (CreateProcess(NULL, pCommand, NULL, NULL, TRUE, 0, pEnvBlock, - NULL, &si, &pi)) { + ap_make_dirstr_parent(r->pool, r->filename), + &si, &pi)) { pid = pi.dwProcessId; /* * We must close the handles to the new process and its main thread