aboutsummaryrefslogtreecommitdiff
path: root/include/setjmp.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-07-22 18:58:35 -0400
committerRich Felker <dalias@aerifal.cx>2012-07-22 18:58:35 -0400
commitd64624912469fc4eccee95e65d7c9e3a3076d699 (patch)
treef3706136a7e267be5104544cf5bb5cc20cbf6ca4 /include/setjmp.h
parentadd floating point register saving/restoring to mips setjmp/longjmp (diff)
downloadgrovel-d64624912469fc4eccee95e65d7c9e3a3076d699.tar.gz
grovel-d64624912469fc4eccee95e65d7c9e3a3076d699.tar.xz
fix wrong size for sigjmp_buf signal set array
128 is the size in bytes, not longs.
Diffstat (limited to '')
-rw-r--r--include/setjmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/setjmp.h b/include/setjmp.h
index 28ff92e4..7dc72767 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -14,7 +14,7 @@ extern "C" {
typedef struct {
jmp_buf __jb;
unsigned long __fl;
- unsigned long __ss[128];
+ unsigned long __ss[128/sizeof(long)];
} sigjmp_buf[1];
int sigsetjmp (sigjmp_buf, int);
void siglongjmp (sigjmp_buf, int);