OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abdffc4
)
sigsetmask.c was not processing the "mask" argument.
author
Bruce Beare
<bruce.j.beare@intel.com>
Sat, 4 Dec 2010 00:48:47 +0000
(16:48 -0800)
committer
Dima Zavin
<dima@android.com>
Thu, 9 Dec 2010 23:17:28 +0000
(15:17 -0800)
Change-Id: I79b898ea5b882e8c0564e25466e827a9bedda6e8
Author: yhe19 <yunan.he@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
libc/unistd/sigsetmask.c
patch
|
blob
|
history
diff --git
a/libc/unistd/sigsetmask.c
b/libc/unistd/sigsetmask.c
index
b987595
..
4f46458
100644
(file)
--- 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;