summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorart <>2002-01-04 12:50:36 +0000
committerart <>2002-01-04 12:50:36 +0000
commitd41fda10f86290cbfc595d63577abd326f4e031d (patch)
tree30ed4f451773dbc8d07520ab4f2e7401b37f3b81 /src
parentcb38e5ac38d7042b70d5da2d8b3e1d08b2723e63 (diff)
downloadopenbsd-d41fda10f86290cbfc595d63577abd326f4e031d.tar.gz
openbsd-d41fda10f86290cbfc595d63577abd326f4e031d.tar.bz2
openbsd-d41fda10f86290cbfc595d63577abd326f4e031d.zip
A bug in the malloc test uncoveres a bug in longjmp on alpha.
How ironic.
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libc/malloc/malloc0test.c4
1 files changed, 2 insertions, 2 deletions
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
17catch(int signo) 17catch(int signo)
18{ 18{
19 got++; 19 got++;
20 longjmp(jmp, 0); 20 longjmp(jmp, 1);
21} 21}
22 22
23int 23int
24test(caddr_t p, int size) 24test(char *p, int size)
25{ 25{
26 signal(SIGSEGV, catch); 26 signal(SIGSEGV, catch);
27 got = 0; 27 got = 0;