fix wrong size for sigjmp_buf signal set array

128 is the size in bytes, not longs.
This commit is contained in:
Rich Felker 2012-07-22 18:58:35 -04:00
parent dc046f55bb
commit d646249124
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ extern "C" {
typedef struct { typedef struct {
jmp_buf __jb; jmp_buf __jb;
unsigned long __fl; unsigned long __fl;
unsigned long __ss[128]; unsigned long __ss[128/sizeof(long)];
} sigjmp_buf[1]; } sigjmp_buf[1];
int sigsetjmp (sigjmp_buf, int); int sigsetjmp (sigjmp_buf, int);
void siglongjmp (sigjmp_buf, int); void siglongjmp (sigjmp_buf, int);