diff options
| author | Jim Blandy | 1992-10-03 03:30:53 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-10-03 03:30:53 +0000 |
| commit | 8058415c7a046957bf2625d1576bbddafce97fc8 (patch) | |
| tree | 992c148a92689df0dcfaff7473da8f879c6939c5 /src | |
| parent | 13b5e56c9bb513dfe03703790b99651746d563f9 (diff) | |
| download | emacs-8058415c7a046957bf2625d1576bbddafce97fc8.tar.gz emacs-8058415c7a046957bf2625d1576bbddafce97fc8.zip | |
* process.c (wait_reading_process_input): If the select returns
ENOMEM, treat that like EINTR under Ultrix.
Diffstat (limited to 'src')
| -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 3239afa8b76..e8a87378025 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1748,6 +1748,12 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 1748 | { | 1748 | { |
| 1749 | if (xerrno == EINTR) | 1749 | if (xerrno == EINTR) |
| 1750 | FD_ZERO (&Available); | 1750 | FD_ZERO (&Available); |
| 1751 | #ifdef __ultrix__ | ||
| 1752 | /* Ultrix select seems to return ENOMEM when it is interrupted. | ||
| 1753 | Treat it just like EINTR. Bleah. -JimB */ | ||
| 1754 | else if (xerrno == ENOMEM) | ||
| 1755 | FD_ZERO (&Available); | ||
| 1756 | #endif | ||
| 1751 | #ifdef ALLIANT | 1757 | #ifdef ALLIANT |
| 1752 | /* This happens for no known reason on ALLIANT. | 1758 | /* This happens for no known reason on ALLIANT. |
| 1753 | I am guessing that this is the right response. -- RMS. */ | 1759 | I am guessing that this is the right response. -- RMS. */ |