changeset 18292:3a85989b7e2c

Further fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Wed, 18 Jun 1997 06:42:38 +0000
parents 130a48e6cc13
children ac6884f51b58
files src/process.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Wed Jun 18 04:24:37 1997 +0000
+++ b/src/process.c	Wed Jun 18 06:42:38 1997 +0000
@@ -2312,7 +2312,8 @@
 
 	  /* 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 ();