apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr/threadproc/unix signals.c
Date Fri, 07 Sep 2001 04:02:24 GMT
jerenkrantz    01/09/06 21:02:24

  Modified:    threadproc/unix signals.c
  Log:
  On platforms that have sigsuspend (such as Darwin) but not apr_sigwait,
  we don't need sig_func declared.
  
  Revision  Changes    Path
  1.35      +2 -0      apr/threadproc/unix/signals.c
  
  Index: signals.c
  ===================================================================
  RCS file: /home/cvs/apr/threadproc/unix/signals.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- signals.c	2001/08/10 21:04:48	1.34
  +++ signals.c	2001/09/07 04:02:24	1.35
  @@ -271,7 +271,9 @@
   APR_DECLARE(apr_status_t) apr_signal_thread(int(*signal_handler)(int signum))
   {
       sigset_t sig_mask;
  +#if APR_HAVE_SIGWAIT
       int (*sig_func)(int signum) = (int (*)(int))signal_handler;
  +#endif
   
       /* This thread will be the one responsible for handling signals */
       sigfillset(&sig_mask);
  
  
  

Mime
View raw message