You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2004/11/17 14:26:18 UTC
svn commit: rev 76126 - apr/apr/branches/1.0.x/threadproc/unix
Author: jorton
Date: Wed Nov 17 05:26:15 2004
New Revision: 76126
Modified:
apr/apr/branches/1.0.x/threadproc/unix/signals.c
Log:
Merge r76119 from trunk:
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/branches/1.0.x/threadproc/unix/signals.c
==============================================================================
--- apr/apr/branches/1.0.x/threadproc/unix/signals.c (original)
+++ apr/apr/branches/1.0.x/threadproc/unix/signals.c Wed Nov 17 05:26:15 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;