commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject cvs commit: jakarta-commons/daemon/src/native/unix/native jsvc-unix.c
Date Thu, 25 Sep 2003 13:35:44 GMT
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();
  
  
  

Mime
View raw message