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:
8
src/ui.c
8
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
|
||||
|
||||
|
Reference in New Issue
Block a user