projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e34d967
)
fixup sigandset
author
rofl0r
<retnyg@gmx.net>
Thu, 6 Dec 2012 20:50:37 +0000
(21:50 +0100)
committer
rofl0r
<retnyg@gmx.net>
Thu, 6 Dec 2012 20:50:37 +0000
(21:50 +0100)
src/signal/sigandset.c
patch
|
blob
|
history
src/signal/sigorset.c
patch
|
blob
|
history
diff --git
a/src/signal/sigandset.c
b/src/signal/sigandset.c
index f62c7fec1ae28bdb7548877e6d527f7f5533cc4f..78f9600d31433ffcfbf37af44112aec620075214 100644
(file)
--- a/
src/signal/sigandset.c
+++ b/
src/signal/sigandset.c
@@
-2,7
+2,7
@@
#include <signal.h>
#include <errno.h>
-#define SST_SIZE (
sizeof(sigset_t) / sizeof(long)
)
+#define SST_SIZE (
_NSIG/8
)
int sigandset(sigset_t *dest, sigset_t *left, sigset_t *right)
{
diff --git
a/src/signal/sigorset.c
b/src/signal/sigorset.c
index 232075b1c281504c792264aa8fdc541f50a19507..eb5feab465fe5e5c08304520e217979985ced4c1 100644
(file)
--- a/
src/signal/sigorset.c
+++ b/
src/signal/sigorset.c
@@
-2,7
+2,7
@@
#include <signal.h>
#include <errno.h>
-#define SST_SIZE (
sizeof(sigset_t) / sizeof(long)
)
+#define SST_SIZE (
_NSIG/8
)
int sigorset(sigset_t *dest, sigset_t *left, sigset_t *right)
{