From ff3129b0fe52fabec273077871cb35515465d44b Mon Sep 17 00:00:00 2001 From: Bruce Beare Date: Fri, 3 Dec 2010 16:48:47 -0800 Subject: [PATCH] sigsetmask.c was not processing the "mask" argument. Change-Id: I79b898ea5b882e8c0564e25466e827a9bedda6e8 Author: yhe19 Signed-off-by: Bruce Beare --- libc/unistd/sigsetmask.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libc/unistd/sigsetmask.c b/libc/unistd/sigsetmask.c index b98759577..4f4645865 100644 --- a/libc/unistd/sigsetmask.c +++ b/libc/unistd/sigsetmask.c @@ -38,6 +38,8 @@ sigsetmask(int mask) sigset_t the_sigset; } in, out; + in.the_mask = mask; + n = sigprocmask(SIG_SETMASK, &in.the_sigset, &out.the_sigset); if (n) return n; -- 2.11.0