summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread/uthread_sigmask.c
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2010-01-03 23:05:35 +0000
committerfgsch <fgsch@openbsd.org>2010-01-03 23:05:35 +0000
commitc265f7d780a48b17cd376c62d3c042764ae1ac22 (patch)
tree1aa054dc4c2507a90b46966f082c26ce7ca233c2 /lib/libpthread/uthread/uthread_sigmask.c
parentUse CHECKx macro and enable setsockopt tests. (diff)
downloadwireguard-openbsd-c265f7d780a48b17cd376c62d3c042764ae1ac22.tar.xz
wireguard-openbsd-c265f7d780a48b17cd376c62d3c042764ae1ac22.zip
Make SO_RCVTIMEO and SO_SNDTIMEO work with pthreads. Fixes at least some of
the issues seen with www/varnish. With input and help from guenther@ and kurt@. guenther@ ok
Diffstat (limited to 'lib/libpthread/uthread/uthread_sigmask.c')
-rw-r--r--lib/libpthread/uthread/uthread_sigmask.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_sigmask.c b/lib/libpthread/uthread/uthread_sigmask.c
index b33227e2aed..d44bfef7ae6 100644
--- a/lib/libpthread/uthread/uthread_sigmask.c
+++ b/lib/libpthread/uthread/uthread_sigmask.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_sigmask.c,v 1.8 2008/04/24 03:31:33 kurt Exp $ */
+/* $OpenBSD: uthread_sigmask.c,v 1.9 2010/01/03 23:05:35 fgsch Exp $ */
/*
* Copyright (c) 1997 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -80,7 +80,7 @@ pthread_sigmask(int how, const sigset_t *set, sigset_t *oset)
}
/*
- * Check if there are pending signals for the running
+ * Check if there are pending signals for the running
* thread or process that aren't blocked:
*/
sigset = curthread->sigpend;