0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0022

This commit is contained in:
Bram Moolenaar
2004-12-12 11:37:09 +00:00
parent d8b0cf1cc5
commit 46c9c73de8
8 changed files with 105 additions and 18 deletions

View File

@@ -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