Mercurial > emacs
changeset 1323:25b5b55a3916
* process.c (wait_reading_process_input): If the select returns
ENOMEM, treat that like EINTR under Ultrix.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 03 Oct 1992 03:30:53 +0000 |
parents | 5f327f1dddd3 |
children | 44215417cf6e |
files | src/process.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Sat Oct 03 03:03:45 1992 +0000 +++ b/src/process.c Sat Oct 03 03:30:53 1992 +0000 @@ -1748,6 +1748,12 @@ { 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. */