apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: rev 76119 - apr/apr/trunk/threadproc/unix
Date Wed, 17 Nov 2004 12:23:03 GMT
Author: jorton
Date: Wed Nov 17 04:23:00 2004
New Revision: 76119

Modified:
   apr/apr/trunk/threadproc/unix/signals.c
Log:
Fix enabling of signal blocking and unblocking code.

* apr/threadproc/unix/signals.c
  (apr_signal_block, apr_signal_unblock): Test the correct symbol, so that
    these functions will actually be implemented on appropriate platforms.

Submitted by: Julian Foad <julianfoad btopenworld.com>


Modified: apr/apr/trunk/threadproc/unix/signals.c
==============================================================================
--- apr/apr/trunk/threadproc/unix/signals.c	(original)
+++ apr/apr/trunk/threadproc/unix/signals.c	Wed Nov 17 04:23:00 2004
@@ -427,7 +427,7 @@
 
 APR_DECLARE(apr_status_t) apr_signal_block(int signum)
 {
-#if APR_HAS_SIGACTION
+#if APR_HAVE_SIGACTION
     sigset_t sig_mask;
     int rv;
 
@@ -454,7 +454,7 @@
 
 APR_DECLARE(apr_status_t) apr_signal_unblock(int signum)
 {
-#if APR_HAS_SIGACTION
+#if APR_HAVE_SIGACTION
     sigset_t sig_mask;
     int rv;
 

Mime
View raw message