manoj 99/10/11 21:06:59
Modified: src/modules/standard mod_cgi.c
Log:
Fix function arguments to respect APR's New World Order.
Revision Changes Path
1.7 +3 -3 apache-2.0/src/modules/standard/mod_cgi.c
Index: mod_cgi.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_cgi.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -u -r1.6 -r1.7
--- mod_cgi.c 1999/10/11 20:44:28 1.6
+++ mod_cgi.c 1999/10/12 04:06:58 1.7
@@ -380,8 +380,8 @@
exit(0);
}
- rc = ap_create_process(&procnew, child_context, r->filename, args,
- env, procattr);
+ rc = ap_create_process(&procnew, r->filename, args,
+ env, procattr, child_context);
if (rc != APR_SUCCESS) {
/* Bad things happened. Everyone should have cleaned up. */
@@ -394,7 +394,7 @@
* stages. ap_note_subprocess and free_proc need to be
redone
* to make use of ap_proc_t instead of pid.
*/
- ap_get_os_proc(procnew, &fred);
+ ap_get_os_proc(&fred, procnew);
ap_note_subprocess(child_context, fred, kill_after_timeout);
#endif
if (script_in) {