summaryrefslogtreecommitdiff
path: root/usr.bin/less/less.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-06-07 03:35:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-06-07 03:35:20 +0000
commit912020678b6f45f900b66e637e5848d9fa3b92b7 (patch)
treefed315ea71f42adc5b7f91b77e54ce06be52220c /usr.bin/less/less.h
parentca740922f63b8d6806ffacd67092fc0f20e90976 (diff)
Use interruptible syscalls instead of setjmp/longjmp. This makes
less's signal handlers safe. No one has reported problems so far...
Diffstat (limited to 'usr.bin/less/less.h')
-rw-r--r--usr.bin/less/less.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/less/less.h b/usr.bin/less/less.h
index 07911d5ce7d..abb60f323c5 100644
--- a/usr.bin/less/less.h
+++ b/usr.bin/less/less.h
@@ -374,7 +374,7 @@ struct textlist
#if _OSK_MWC32
#define LSIGNAL(sig,func) os9_signal(sig,func)
#else
-#define LSIGNAL(sig,func) signal(sig,func)
+#define LSIGNAL(sig,func) lsignal(sig,func)
#endif
#if HAVE_SIGPROCMASK