From 9a9c1619b8124f07fc772c0b700e4d411cd78525 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;