summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorwsanchez <wsanchez@13f79535-47bb-0310-9956-ffa450edef68>2001-04-04 07:35:52 +0000
committerwsanchez <wsanchez@13f79535-47bb-0310-9956-ffa450edef68>2001-04-04 07:35:52 +0000
commit7a2aabdb960bda1bff911fd8f1332597738dd660 (patch)
tree22f6f466a06d5318a3de96834bbfdfe25b7d990c /threadproc
parent016abd342efa27aee365412d879ef5b3e68fda71 (diff)
downloadlibapr-7a2aabdb960bda1bff911fd8f1332597738dd660.tar.gz
Speling
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61455 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/unix/signals.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/threadproc/unix/signals.c b/threadproc/unix/signals.c
index f71f01e64..e944ec1c8 100644
--- a/threadproc/unix/signals.c
+++ b/threadproc/unix/signals.c
@@ -321,10 +321,10 @@ APR_DECLARE(apr_status_t) apr_setup_signal_thread(void)
sigset_t sig_mask;
int rv;
- /* All threads should mask signals out, accoring to sigwait(2) man page */
+ /* All threads should mask signals out, according to sigwait(2) man page */
sigfillset(&sig_mask);
-#if !APR_HAS_THREADS || defined(SIGPROCMASK_SETS_THREAD_MASK)
+#if defined(SIGPROCMASK_SETS_THREAD_MASK)
rv = sigprocmask(SIG_SETMASK, &sig_mask, NULL);
#else
if ((rv = pthread_sigmask(SIG_SETMASK, &sig_mask, NULL)) != 0) {