diff options
| author | Richard M. Stallman | 1994-04-16 05:53:27 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-16 05:53:27 +0000 |
| commit | c0bac6a3c844f9a4090e0b0df5156ed73dbae3c5 (patch) | |
| tree | 0cb7bf95236c97b427a27a25b688fa8ec28957e5 /src | |
| parent | 0412bf67d1c991580e5a601edce8d38e602a76c3 (diff) | |
| download | emacs-c0bac6a3c844f9a4090e0b0df5156ed73dbae3c5.tar.gz emacs-c0bac6a3c844f9a4090e0b0df5156ed73dbae3c5.zip | |
(read_avail_input): Fix previous change--test _BSD.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 3347 | #else | 3347 | #else |
| 3348 | nread = read (fileno (stdin), cbuf, n_to_read); | 3348 | nread = read (fileno (stdin), cbuf, n_to_read); |
| 3349 | #endif | 3349 | #endif |
| 3350 | #if defined (AIX) && ! defined (aix386) | 3350 | #if defined (AIX) && defined (_BSD) |
| 3351 | /* The kernel sometimes fails to deliver SIGHUP for ptys. | 3351 | /* The kernel sometimes fails to deliver SIGHUP for ptys. |
| 3352 | This looks incorrect, but it isn't, because _BSD causes | 3352 | This looks incorrect, but it isn't, because _BSD causes |
| 3353 | O_NDELAY to be defined in fcntl.h as O_NONBLOCK, | 3353 | O_NDELAY to be defined in fcntl.h as O_NONBLOCK, |