This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
bsd-_setjmp
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: bsd-_setjmp
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Tue, 21 Nov 2000 14:49:03 +1100 (EST)
This fixes a fairly obvious little bug. setjmp is the sigsetjmp (.., 1)
variant, _setjmp the sigsetjmp (.., 0) variant. We don't want two
setjmp's.
* sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
Alan Modra
--
Linuxcare. Support for the Revolution.
--- sysdeps/generic/bsd-_setjmp.c~ Sat Jun 19 00:00:00 1999
+++ sysdeps/generic/bsd-_setjmp.c Tue Nov 21 14:02:03 2000
@@ -28,7 +28,7 @@
immediate unwinds. */
int
-setjmp (jmp_buf env)
+_setjmp (jmp_buf env)
{
return __sigsetjmp (env, 0);
}