aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2001-10-16 15:31:18 +0000
committerAndreas Schwab <schwab@suse.de>2001-10-16 15:31:18 +0000
commitdfc1be7af0c5c28db0118a6af9b2462ca99e7fda (patch)
tree83437d0661e1b4c6bf8d3205cfa35929945676bb
parentc70d76bb8e489b6a6855a43fd92cf66f0f6b249b (diff)
downloadglibc-dfc1be7af0c5c28db0118a6af9b2462ca99e7fda.tar
glibc-dfc1be7af0c5c28db0118a6af9b2462ca99e7fda.tar.gz
glibc-dfc1be7af0c5c28db0118a6af9b2462ca99e7fda.tar.bz2
glibc-dfc1be7af0c5c28db0118a6af9b2462ca99e7fda.zip
Fix braino in last change.
-rw-r--r--sysdeps/m68k/setjmp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/m68k/setjmp.c b/sysdeps/m68k/setjmp.c
index 80672ad4db..19aa131a45 100644
--- a/sysdeps/m68k/setjmp.c
+++ b/sysdeps/m68k/setjmp.c
@@ -22,9 +22,11 @@
int
#if defined BSD_SETJMP
# undef setjmp
+# define savemask 1
setjmp (jmp_buf env)
#elif defined BSD__SETJMP
# undef _setjmp
+# define savemask 0
_setjmp (jmp_buf env)
#else
__sigsetjmp (jmp_buf env, int savemask)
@@ -53,10 +55,6 @@ __sigsetjmp (jmp_buf env, int savemask)
: : "m" (env[0].__jmpbuf[0].__fpregs[0]));
#endif
-#if defined BSD_SETJMP || defined BSD__SETJMP
- return 0;
-#else
/* Save the signal mask if requested. */
return __sigjmp_save (env, savemask);
-#endif
}