diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-01-04 12:50:37 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-01-04 12:50:37 +0000 |
commit | 08127c6e00f298ed276c42448552b95bb6fc2721 (patch) | |
tree | 57e6c128de9788c65109e10254fbe81b0c7b7d24 /regress/lib/libc/malloc | |
parent | e959d4c749cdf3fb5195096bf418ffdab0489047 (diff) |
A bug in the malloc test uncoveres a bug in longjmp on alpha.
How ironic.
Diffstat (limited to 'regress/lib/libc/malloc')
-rw-r--r-- | regress/lib/libc/malloc/malloc0test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libc/malloc/malloc0test.c b/regress/lib/libc/malloc/malloc0test.c index d226af5a281..99eef671966 100644 --- a/regress/lib/libc/malloc/malloc0test.c +++ b/regress/lib/libc/malloc/malloc0test.c @@ -17,11 +17,11 @@ void catch(int signo) { got++; - longjmp(jmp, 0); + longjmp(jmp, 1); } int -test(caddr_t p, int size) +test(char *p, int size) { signal(SIGSEGV, catch); got = 0; |