apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Foad <julianf...@btopenworld.com>
Subject [PATCH] Fix 'warning: "APR_HAS_SIGACTION" is not defined'
Date Sat, 13 Nov 2004 21:27:08 GMT
Judging by usage elsewhere in the same and other files, the wrong symbol was 
being tested.

Index: threadproc/unix/signals.c
===================================================================
RCS file: /home/cvspublic/apr/threadproc/unix/signals.c,v
retrieving revision 1.59
diff -u -3 -p -d -r1.59 signals.c
--- threadproc/unix/signals.c   22 Apr 2004 08:23:23 -0000      1.59
+++ threadproc/unix/signals.c   13 Nov 2004 21:24:24 -0000
@@ -427,7 +427,7 @@ APR_DECLARE(apr_status_t) apr_setup_sign

  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_blo

  APR_DECLARE(apr_status_t) apr_signal_unblock(int signum)
  {
-#if APR_HAS_SIGACTION
+#if APR_HAVE_SIGACTION
      sigset_t sig_mask;
      int rv;

- Julian

Mime
View raw message