rse 98/04/22 08:06:46
Modified: . STATUS src CHANGES src/modules/standard mod_cgi.c Log: Fix DEBUG_CGI situation in mod_cgi.c Submitted by: David MacKenzie <[EMAIL PROTECTED]> Reviewed by: Ralf S. Engelschall Revision Changes Path 1.327 +1 -0 apache-1.3/STATUS Index: STATUS =================================================================== RCS file: /export/home/cvs/apache-1.3/STATUS,v retrieving revision 1.326 retrieving revision 1.327 diff -u -r1.326 -r1.327 --- STATUS 1998/04/22 14:00:20 1.326 +++ STATUS 1998/04/22 15:06:39 1.327 @@ -64,6 +64,7 @@ * Dynamic Shared Object (DSO) support for OpenBSD 2.x * Ralf's enhanced "make install" carefulness for mime.types+magic files * Ralf's paranoia-fixes for the IFS-handling in `configure' + * Fix for the DEBUG_CGI (#ifdef'ed) situation in mod_cgi.c, PR#2114 Available Patches: 1.792 +2 -0 apache-1.3/src/CHANGES Index: CHANGES =================================================================== RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v retrieving revision 1.791 retrieving revision 1.792 diff -u -r1.791 -r1.792 --- CHANGES 1998/04/22 14:00:22 1.791 +++ CHANGES 1998/04/22 15:06:41 1.792 @@ -1,5 +1,7 @@ Changes with Apache 1.3b7 + *) Fix DEBUG_CGI situation in mod_cgi.c [David MacKenzie] PR#2114 + *) Make sure the input field separator (IFS) shell variable is explicitly initialized correctly before _every_ `for' loop and also restored after the loops. [Ralf S. Engelschall] 1.76 +1 -1 apache-1.3/src/modules/standard/mod_cgi.c Index: mod_cgi.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_cgi.c,v retrieving revision 1.75 retrieving revision 1.76 diff -u -r1.75 -r1.76 --- mod_cgi.c 1998/04/13 10:32:26 1.75 +++ mod_cgi.c 1998/04/22 15:06:45 1.76 @@ -303,7 +303,7 @@ RAISE_SIGSTOP(CGI_CHILD); #ifdef DEBUG_CGI fprintf(dbg, "Attempting to exec %s as %sCGI child (argv0 = %s)\n", - r->filename, nph ? "NPH " : "", argv0); + r->filename, cld->nph ? "NPH " : "", argv0); #endif ap_add_cgi_vars(r);