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:
dc046f5
)
fix wrong size for sigjmp_buf signal set array
author
Rich Felker
<dalias@aerifal.cx>
Sun, 22 Jul 2012 22:58:35 +0000
(18:58 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 22 Jul 2012 22:58:35 +0000
(18:58 -0400)
128 is the size in bytes, not longs.
include/setjmp.h
patch
|
blob
|
history
diff --git
a/include/setjmp.h
b/include/setjmp.h
index 28ff92e402b60daa14bcde580e868219ff413caf..7dc72767db832ec9b5930bd5fa9f072e97300eb0 100644
(file)
--- 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);