Mercurial > emacs
diff src/process.c @ 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 | af619d68a576 |
| children | 19ccf004b172 |
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. */
