diff options
Diffstat (limited to 'src/signal/sigemptyset.c')
-rw-r--r-- | src/signal/sigemptyset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/signal/sigemptyset.c b/src/signal/sigemptyset.c index 91f77adf..ca9b8920 100644 --- a/src/signal/sigemptyset.c +++ b/src/signal/sigemptyset.c @@ -3,6 +3,7 @@ int sigemptyset(sigset_t *set) { - memset(set, 0, sizeof *set); + set->__bits[0] = 0; + if (sizeof(long)==4) set->__bits[1] = 0; return 0; } |