dreid 99/11/03 13:47:49
Modified: src/lib/apr/threadproc/beos proc.c
Log:
Thanks to Manuel J Petit de Gabriel for finding the problem with
my pipes. This fix allows CGI to work on BeOS.
Revision Changes Path
1.11 +4 -0 apache-2.0/src/lib/apr/threadproc/beos/proc.c
Index: proc.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/beos/proc.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- proc.c 1999/11/03 16:01:53 1.10
+++ proc.c 1999/11/03 21:47:44 1.11
@@ -223,6 +223,10 @@
return errno;
}
resume_thread(newproc);
+ ap_close (attr->child_in);
+ ap_close (attr->child_out);
+ ap_close (attr->child_err);
+
send_data(newproc, 0, (void*)sp, sizeof(struct send_pipe));
(*new)->tid = newproc;