Commit 00fb3e95 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fcall_process) [__osf__ && __alpha]:

Don't stop reading if read returns negative.
parent c2ae679c
......@@ -427,8 +427,16 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
register int nread;
int first = 1;
while ((nread = read (fd[0], buf, sizeof buf)) > 0)
while ((nread = read (fd[0], buf, sizeof buf)) != 0)
if (nread < 0)
#if defined (__osf__) && defined (__alpha)
continue; /* Work around bug in DEC OSF/1 V3.0. */
immediate_quit = 0;
if (!NILP (buffer))
insert (buf, nread);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment