aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-11-13 07:50:17 +0000
committerRichard M. Stallman1993-11-13 07:50:17 +0000
commit482952ef03359a468bbc35b26738aaf47610e410 (patch)
tree6729d3d1a40023a2c2af8b24505efc4e7cecf6dd /src
parentbb292747ca0519a8bb602d0713e4e08a6bb56bc1 (diff)
downloademacs-482952ef03359a468bbc35b26738aaf47610e410.tar.gz
emacs-482952ef03359a468bbc35b26738aaf47610e410.zip
(read_avail_input) [no FIONREAD]: On DGUX, as on USG,
read input with O_NDELAY.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c2
1 files changed, 1 insertions, 1 deletions
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)
3044 if (nread > sizeof cbuf) 3044 if (nread > sizeof cbuf)
3045 nread = sizeof cbuf; 3045 nread = sizeof cbuf;
3046#else /* no FIONREAD */ 3046#else /* no FIONREAD */
3047#ifdef USG 3047#if defined(USG) || defined(DGUX)
3048 /* Read some input if available, but don't wait. */ 3048 /* Read some input if available, but don't wait. */
3049 nread = sizeof cbuf; 3049 nread = sizeof cbuf;
3050 fcntl (fileno (stdin), F_SETFL, O_NDELAY); 3050 fcntl (fileno (stdin), F_SETFL, O_NDELAY);