From e8b6792d29b46bb961a633ba7d8c7a7192506db2 Mon Sep 17 00:00:00 2001 From: jb Date: Sun, 22 Mar 1998 04:13:23 +0000 Subject: Fix a problem of indirection unblocking signals that would have caused signals to be unblocked even if they were already blocked when entering the function. Pointed out by: bde --- lib/libpthread/thread/thr_fork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libpthread') diff --git a/lib/libpthread/thread/thr_fork.c b/lib/libpthread/thread/thr_fork.c index 89d7259..29d6090 100644 --- a/lib/libpthread/thread/thr_fork.c +++ b/lib/libpthread/thread/thr_fork.c @@ -123,7 +123,7 @@ fork(void) } /* Unblock signals: */ - _thread_kern_sig_unblock(&status); + _thread_kern_sig_unblock(status); /* Return the process ID: */ return (ret); -- cgit v1.1