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:
e00e07f
)
fix sigorset/sigandset: _NSIG/8 is the size in bytes
author
rofl0r
<retnyg@gmx.net>
Thu, 6 Dec 2012 21:48:46 +0000
(22:48 +0100)
committer
rofl0r
<retnyg@gmx.net>
Thu, 6 Dec 2012 21:48:46 +0000
(22:48 +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 f9204c49ff605c9a4fa28c2872cf7d937233d189..e0c6f4867f9037eea8fd3f108acbddb290dd49e5 100644
(file)
--- a/
src/signal/sigandset.c
+++ b/
src/signal/sigandset.c
@@
-1,7
+1,7
@@
#define _GNU_SOURCE
#include <signal.h>
-#define SST_SIZE (_NSIG/8)
+#define SST_SIZE (_NSIG/8
/sizeof(long)
)
int sigandset(sigset_t *dest, sigset_t *left, sigset_t *right)
{
diff --git
a/src/signal/sigorset.c
b/src/signal/sigorset.c
index 5460224bfbb93fac43c59ec873ee6d24b9f5b8ac..df1b1b17deb9040586f6f1b043feebbe79ba8690 100644
(file)
--- a/
src/signal/sigorset.c
+++ b/
src/signal/sigorset.c
@@
-1,7
+1,7
@@
#define _GNU_SOURCE
#include <signal.h>
-#define SST_SIZE (_NSIG/8)
+#define SST_SIZE (_NSIG/8
/sizeof(long)
)
int sigorset(sigset_t *dest, sigset_t *left, sigset_t *right)
{