From d41fda10f86290cbfc595d63577abd326f4e031d Mon Sep 17 00:00:00 2001 From: art <> Date: Fri, 4 Jan 2002 12:50:36 +0000 Subject: A bug in the malloc test uncoveres a bug in longjmp on alpha. How ironic. --- src/regress/lib/libc/malloc/malloc0test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libc/malloc/malloc0test.c b/src/regress/lib/libc/malloc/malloc0test.c index d226af5a28..99eef67196 100644 --- a/src/regress/lib/libc/malloc/malloc0test.c +++ b/src/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; -- cgit v1.2.3-55-g6feb