diff options
author | Jim Blandy <[email protected]> | 1992-10-03 03:30:53 +0000 |
---|---|---|
committer | Jim Blandy <[email protected]> | 1992-10-03 03:30:53 +0000 |
commit | 8058415c7a046957bf2625d1576bbddafce97fc8 (patch) | |
tree | 992c148a92689df0dcfaff7473da8f879c6939c5 | |
parent | 13b5e56c9bb513dfe03703790b99651746d563f9 (diff) |
* process.c (wait_reading_process_input): If the select returns
ENOMEM, treat that like EINTR under Ultrix.
-rw-r--r-- | src/process.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index 3239afa8b7..e8a8737802 100644 --- a/src/process.c +++ b/src/process.c @@ -1748,6 +1748,12 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) { if (xerrno == EINTR) FD_ZERO (&Available); +#ifdef __ultrix__ + /* Ultrix select seems to return ENOMEM when it is interrupted. + Treat it just like EINTR. Bleah. -JimB */ + else if (xerrno == ENOMEM) + FD_ZERO (&Available); +#endif #ifdef ALLIANT /* This happens for no known reason on ALLIANT. I am guessing that this is the right response. -- RMS. */ |