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

updated for version 7.0108

This commit is contained in:
Bram Moolenaar
2005-07-12 22:50:18 +00:00
parent 8d34330fe5
commit e759a7aa9a
8 changed files with 69 additions and 45 deletions

View File

@@ -184,10 +184,12 @@ ui_inchar(buf, maxlen, wtime, tb_change_cnt)
# endif
{
if (wtime == -1 || wtime > 100L)
(void)handle_signal(SIGNAL_UNBLOCK); /* allow signals to kill us */
/* allow signals to kill us */
(void)vim_handle_signal(SIGNAL_UNBLOCK);
retval = mch_inchar(buf, maxlen, wtime, tb_change_cnt);
if (wtime == -1 || wtime > 100L)
(void)handle_signal(SIGNAL_BLOCK); /* block SIGHUP et al. */
/* block SIGHUP et al. */
(void)vim_handle_signal(SIGNAL_BLOCK);
}
#endif