httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/lib apr_signal.c
Date Thu, 23 Mar 2000 14:40:08 GMT
jim         00/03/23 06:40:08

  Modified:    src/lib/apr/include apr.h.in
               src/lib/apr/lib apr_signal.c
  Log:
  Fix the problems when sigaction() isn't found and Sigfunc
  was not being defined. We now do this iff we've found sigaction()
  and we haven't specifically said not to use it.
  
  Revision  Changes    Path
  1.17      +1 -1      apache-2.0/src/lib/apr/include/apr.h.in
  
  Index: apr.h.in
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr.h.in,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- apr.h.in	2000/03/18 12:32:17	1.16
  +++ apr.h.in	2000/03/23 14:40:07	1.17
  @@ -103,7 +103,7 @@
   /* We are checking for HAVE_SIGACTION, but autoconf is filling this in 
    * for us automatically.
    */
  -#if @have_sigaction@
  +#if @have_sigaction@ && !defined(NO_USE_SIGACTION)
   typedef void Sigfunc(int);
   Sigfunc *ap_signal(int signo, Sigfunc * func);
   
  
  
  
  1.6       +1 -1      apache-2.0/src/lib/apr/lib/apr_signal.c
  
  Index: apr_signal.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/lib/apr_signal.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- apr_signal.c	2000/03/10 00:06:13	1.5
  +++ apr_signal.c	2000/03/23 14:40:07	1.6
  @@ -61,7 +61,7 @@
   #include <signal.h>
   #endif
   
  -#ifndef NO_USE_SIGACTION
  +#if !defined(NO_USE_SIGACTION) && defined(HAVE_SIGACTION)
   /*
    * Replace standard signal() with the more reliable sigaction equivalent
    * from W. Richard Stevens' "Advanced Programming in the UNIX Environment"
  
  
  

Mime
View raw message