From c0bac6a3c844f9a4090e0b0df5156ed73dbae3c5 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 16 Apr 1994 05:53:27 +0000 Subject: [PATCH] (read_avail_input): Fix previous change--test _BSD. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index 6e70ddf6526..c74b151c779 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3347,7 +3347,7 @@ read_avail_input (expected) #else nread = read (fileno (stdin), cbuf, n_to_read); #endif -#if defined (AIX) && ! defined (aix386) +#if defined (AIX) && defined (_BSD) /* The kernel sometimes fails to deliver SIGHUP for ptys. This looks incorrect, but it isn't, because _BSD causes O_NDELAY to be defined in fcntl.h as O_NONBLOCK, -- 2.39.5