Commit 482952ef authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(read_avail_input) [no FIONREAD]: On DGUX, as on USG,

read input with O_NDELAY.
parent bb292747
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment