changeset 4996:4414ceac33dc

(read_avail_input) [no FIONREAD]: On DGUX, as on USG, read input with O_NDELAY.
author Richard M. Stallman <rms@gnu.org>
date Sat, 13 Nov 1993 07:50:17 +0000
parents 51d0545729fa
children 96c0a97da147
files src/keyboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sat Nov 13 06:27:28 1993 +0000
+++ b/src/keyboard.c	Sat Nov 13 07:50:17 1993 +0000
@@ -3044,7 +3044,7 @@
       if (nread > sizeof cbuf)
 	nread = sizeof cbuf;
 #else /* no FIONREAD */
-#ifdef USG
+#if defined(USG) || defined(DGUX)
       /* Read some input if available, but don't wait.  */
       nread = sizeof cbuf;
       fcntl (fileno (stdin), F_SETFL, O_NDELAY);