From 46c9c73de8def79baf8f0a34a12549f6c14944f3 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 12 Dec 2004 11:37:09 +0000 Subject: updated for version 7.0022 --- src/ui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index 3963bd545..ac88dc6ab 100644 --- a/src/ui.c +++ b/src/ui.c @@ -177,11 +177,11 @@ ui_inchar(buf, maxlen, wtime, tb_change_cnt) else # endif { - if (wtime == -1) - handle_sighup(SIGHUP_UNBLOCK); /* allow SIGHUP to kill us */ + if (wtime == -1 || wtime > 100L) + (void)handle_signal(SIGNAL_UNBLOCK); /* allow signals to kill us */ retval = mch_inchar(buf, maxlen, wtime, tb_change_cnt); - if (wtime == -1) - handle_sighup(SIGHUP_BLOCK); /* block SIGHUP */ + if (wtime == -1 || wtime > 100L) + (void)handle_signal(SIGNAL_BLOCK); /* block SIGHUP et al. */ } #endif -- cgit v1.2.1