manoj 99/03/21 02:51:46
Modified: pthreads/src/main http_main.c http_protocol.c
Log:
Add a comment related to the previous patch, and rewrap another one.
Revision Changes Path
1.64 +2 -0 apache-apr/pthreads/src/main/http_main.c
Index: http_main.c
===================================================================
RCS file: /home/cvs/apache-apr/pthreads/src/main/http_main.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -u -r1.63 -r1.64
--- http_main.c 1999/03/21 10:42:34 1.63
+++ http_main.c 1999/03/21 10:51:43 1.64
@@ -2157,6 +2157,8 @@
if (one_process) {
set_signals();
+ /* Needed even in the one process case because lookup of the process
+ * pid sometimes must go through the scoreboard */
ap_scoreboard_image->parent[slot].pid = getpid();
child_main(slot);
}
1.14 +3 -3 apache-apr/pthreads/src/main/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /home/cvs/apache-apr/pthreads/src/main/http_protocol.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -u -r1.13 -r1.14
--- http_protocol.c 1999/03/21 10:42:34 1.13
+++ http_protocol.c 1999/03/21 10:51:44 1.14
@@ -808,9 +808,9 @@
/* XXX - sigwait doesn't work if the signal has been SIG_IGNed (under
* linux 2.0 w/ glibc 2.0, anyway), and this step isn't necessary when
- * we're running a sigwait thread anyway. If/when unthreaded mode is put
- * back in, we should make sure to ignore this signal iff a sigwait
thread
- * isn't used. - mvsk
+ * we're running a sigwait thread anyway. If/when unthreaded mode is
+ * put back in, we should make sure to ignore this signal iff a sigwait
+ * thread isn't used. - mvsk
#ifdef SIGWINCH
signal(SIGWINCH, SIG_IGN);