diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-12-12 11:37:09 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-12-12 11:37:09 +0000 |
commit | 46c9c73de8def79baf8f0a34a12549f6c14944f3 (patch) | |
tree | 8a88c07c5a43bea782eb1afa74b73d3e9feb6e76 /src/ui.c | |
parent | d8b0cf1cc5231e19116cc3208b680a07f842bfe9 (diff) | |
download | vim-git-46c9c73de8def79baf8f0a34a12549f6c14944f3.tar.gz |
updated for version 7.0022v7.0022
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |