HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13b5e56
)
* process.c (wait_reading_process_input): If the select returns
author
Jim Blandy
<jimb@redhat.com>
Sat, 3 Oct 1992 03:30:53 +0000
(
03:30
+0000)
committer
Jim Blandy
<jimb@redhat.com>
Sat, 3 Oct 1992 03:30:53 +0000
(
03:30
+0000)
ENOMEM, treat that like EINTR under Ultrix.
src/process.c
patch
|
blob
|
blame
|
history
diff --git
a/src/process.c
b/src/process.c
index
3239afa
..
e8a8737
100644
(file)
--- 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. */