0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

Few more fixes for VMS.

This commit is contained in:
Bram Moolenaar
2010-07-29 23:12:15 +02:00
parent 30a8635b56
commit 48bae372e9
2 changed files with 6 additions and 4 deletions

View File

@@ -421,9 +421,10 @@ mch_inchar(buf, maxlen, wtime, tb_change_cnt)
/* Process the queued netbeans messages. */
netbeans_parse_messages();
#endif
#ifndef VMS /* VMS: must try reading, WaitForChar() does nothing. */
/*
* we want to be interrupted by the winch signal
* or by an event on the monitored file descriptors
* We want to be interrupted by the winch signal
* or by an event on the monitored file descriptors.
*/
if (WaitForChar(-1L) == 0)
{
@@ -431,6 +432,7 @@ mch_inchar(buf, maxlen, wtime, tb_change_cnt)
handle_resize();
return 0;
}
#endif
/* If input was put directly in typeahead buffer bail out here. */
if (typebuf_changed(tb_change_cnt))