]> git.eshelyaron.com Git - emacs.git/commitdiff
Further fix previous change.
authorRichard M. Stallman <rms@gnu.org>
Wed, 18 Jun 1997 06:42:38 +0000 (06:42 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 18 Jun 1997 06:42:38 +0000 (06:42 +0000)
src/process.c

index 06edf7c5e842299409d9513d38de053a80ede803..4ad8fe24af51f3ef4b397020e79c7e12c1aa4623 100644 (file)
@@ -2312,7 +2312,8 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
 
          /* Read data from the process, until we exhaust it.  */
          while (XINT (wait_proc->infd) >= 0
-                && nread = read_process_output (proc, XINT (wait_proc->infd)))
+                && (nread
+                    = read_process_output (proc, XINT (wait_proc->infd))))
            total_nread += nread;
          if (total_nread > 0 && do_display)
            redisplay_preserve_echo_area ();