diff src/os_unix.c @ 2436:e1c84b92c881 vim73

Few more fixes for VMS.
author Bram Moolenaar <bram@vim.org>
date Thu, 29 Jul 2010 23:12:15 +0200
parents 5bd81e397907
children 6768ebd0bc04
line wrap: on
line diff
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -421,9 +421,10 @@ mch_inchar(buf, maxlen, wtime, tb_change
 	/* 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
 		handle_resize();
 	    return 0;
 	}
+#endif
 
 	/* If input was put directly in typeahead buffer bail out here. */
 	if (typebuf_changed(tb_change_cnt))