summaryrefslogtreecommitdiff
path: root/include/setjmp.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-14 18:45:58 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-14 18:45:58 -0500
commite8362c8b51ffa205cf0ada159445c482e85e1a81 (patch)
tree398b94f7b1dd48c4e9741357fdf5ab4f5ff2397e /include/setjmp.h
parent74eea628cf43355ba2b227f0bb3c31697d637761 (diff)
downloadmusl-e8362c8b51ffa205cf0ada159445c482e85e1a81.tar.gz
musl-e8362c8b51ffa205cf0ada159445c482e85e1a81.tar.bz2
musl-e8362c8b51ffa205cf0ada159445c482e85e1a81.tar.xz
musl-e8362c8b51ffa205cf0ada159445c482e85e1a81.zip
major bugfix for sigset_t (it was mistakenly 1024 bytes instead of bits)
note that object files using sigset_t (or struct sigaction) need to be recompiled to work correctly after this fix.
Diffstat (limited to 'include/setjmp.h')
-rw-r--r--include/setjmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/setjmp.h b/include/setjmp.h
index a5bb1e20..b024c44e 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -10,7 +10,7 @@ extern "C" {
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
-typedef unsigned long sigjmp_buf[(1024+sizeof(jmp_buf))/sizeof(long)];
+typedef unsigned long sigjmp_buf[(128+sizeof(jmp_buf))/sizeof(long)];
#ifdef _GNU_SOURCE
#define jmp_buf sigjmp_buf
#endif