Mercurial > emacs
comparison src/keyboard.c @ 6908:6f71bde80d97
(read_avail_input): Don't generate SIGHUP of aix386;
only on other AIX systems.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 16 Apr 1994 02:32:59 +0000 |
parents | 34435700529d |
children | 52ec40c3f037 |
comparison
equal
deleted
inserted
replaced
6907:35e524a24c7f | 6908:6f71bde80d97 |
---|---|
3345 cbuf[0] = dos_keyread(); | 3345 cbuf[0] = dos_keyread(); |
3346 nread = 1; | 3346 nread = 1; |
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 #ifdef AIX | 3350 #if defined (AIX) && ! defined (aix386) |
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, |
3354 and that causes a value other than 0 when there is no input. */ | 3354 and that causes a value other than 0 when there is no input. */ |
3355 if (nread == 0) | 3355 if (nread == 0) |