You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by jf...@apache.org on 2003/09/25 15:35:44 UTC
cvs commit: jakarta-commons/daemon/src/native/unix/native jsvc-unix.c
jfclere 2003/09/25 06:35:44
Modified: daemon/src/native/unix/native jsvc-unix.c
Log:
Darwin also uses setpgid.
Revision Changes Path
1.3 +2 -2 jakarta-commons/daemon/src/native/unix/native/jsvc-unix.c
Index: jsvc-unix.c
===================================================================
RCS file: /home/cvs/jakarta-commons/daemon/src/native/unix/native/jsvc-unix.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- jsvc-unix.c 12 Sep 2003 09:08:51 -0000 1.2
+++ jsvc-unix.c 25 Sep 2003 13:35:44 -0000 1.3
@@ -302,7 +302,7 @@
}
/* create a new process group to prevent kill 0 killing the monitor process */
-#ifdef OS_FREEBSD
+#if defined(OS_FREEBSD) || defined(OS_DARWIN)
setpgid(0,0);
#else
setpgrp();