From: Richard M. Stallman Date: Sat, 13 Nov 1993 07:50:17 +0000 (+0000) Subject: (read_avail_input) [no FIONREAD]: On DGUX, as on USG, X-Git-Tag: emacs-19.34~10855 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=482952ef03359a468bbc35b26738aaf47610e410;p=emacs.git (read_avail_input) [no FIONREAD]: On DGUX, as on USG, read input with O_NDELAY. --- diff --git a/src/keyboard.c b/src/keyboard.c index 0f12c5b03ac..249c594d2a8 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3044,7 +3044,7 @@ read_avail_input (expected) 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);