commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject cvs commit: jakarta-commons/daemon/src/native/unix/native jsvc-unix.c
Date Thu, 18 Mar 2004 03:59:41 GMT
billbarker    2004/03/17 19:59:41

  Modified:    daemon/src/native/unix/native jsvc-unix.c
  Log:
  Don't call the signal handler registered by the JVM.
  
  We're changing the symantics of the signal, so it doesn't make sense to fall back on the
JVM's symantics.  What is worse, is that the old code prevented a clean shutdown.
  
  Fix for Bug # 27729
  
  Reported By: Krzysztof Cieniuch kcieniuch@wp.pl
  
  Revision  Changes    Path
  1.10      +1 -4      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.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- jsvc-unix.c	9 Feb 2004 15:55:21 -0000	1.9
  +++ jsvc-unix.c	18 Mar 2004 03:59:41 -0000	1.10
  @@ -46,7 +46,6 @@
               } else {
                   stopping=true;
               }
  -            if (handler_trm!=NULL) (*handler_trm)(sig);
               break;
           }
   
  @@ -57,7 +56,6 @@
               } else {
                   stopping=true;
               }
  -            if (handler_int!=NULL) (*handler_int)(sig);
               break;
           }
   
  @@ -69,7 +67,6 @@
                   stopping=true;
                   doreload=true;
               }
  -            if (handler_hup!=NULL) (*handler_hup)(sig);
               break;
           }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message