summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-02-05 15:22:28 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:02 +0100
commit3b39a6827f68a5183ce44637ca6b39c464d30067 (patch)
treebe797c0fd1f101ebf55822041ad881327589d65a /signal.c
parentdc327f40c8d4981bb5dce27f8e967aacfcf4fb23 (diff)
use sigsetjmp, etc.
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/signal.c b/signal.c
index 385c6de..43f9c32 100644
--- a/signal.c
+++ b/signal.c
@@ -21,7 +21,7 @@ extern void catcher(int s) {
interrupt_happened = TRUE;
#ifdef HAVE_RESTARTABLE_SYSCALLS
if (slow)
- longjmp(slowbuf.j, 1);
+ siglongjmp(slowbuf.j, 1);
#endif
}