summaryrefslogtreecommitdiffstats
path: root/lib/libc_r
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-06-06 07:02:27 +0000
committerjb <jb@FreeBSD.org>1998-06-06 07:02:27 +0000
commit14d31aca92286045152269aef0710d53ca67c5ad (patch)
tree1e244359ff6a414155177becb0a42730201cc38e /lib/libc_r
parent0d7d76d9824e92ac3e2d5c95c38338e47b940aad (diff)
downloadFreeBSD-src-14d31aca92286045152269aef0710d53ca67c5ad.zip
FreeBSD-src-14d31aca92286045152269aef0710d53ca67c5ad.tar.gz
I got the last commit back to front.
Diffstat (limited to 'lib/libc_r')
-rw-r--r--lib/libc_r/uthread/uthread_sig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc_r/uthread/uthread_sig.c b/lib/libc_r/uthread/uthread_sig.c
index 58d8e9d..c0fbfd1 100644
--- a/lib/libc_r/uthread/uthread_sig.c
+++ b/lib/libc_r/uthread/uthread_sig.c
@@ -243,8 +243,10 @@ _thread_signal(pthread_t pthread, int sig)
sigaddset(&pthread->sigpend,sig);
/* Check if system calls are not restarted: */
- if ((_thread_sigact[sig - 1].sa_flags & SA_RESTART) == 0) {
+ if ((_thread_sigact[sig - 1].sa_flags & SA_RESTART) != 0) {
/*
+ * System calls are flagged for restart.
+ *
* Process according to thread state:
*/
switch (pthread->state) {
@@ -293,8 +295,6 @@ _thread_signal(pthread_t pthread, int sig)
}
} else {
/*
- * System calls are flagged for restart.
- *
* Process according to thread state:
*/
switch (pthread->state) {
OpenPOWER on IntegriCloud