comparison src/process.c @ 18292:3a85989b7e2c

Further fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Wed, 18 Jun 1997 06:42:38 +0000
parents 3835d79f8978
children 0295bbed3c39
comparison
equal deleted inserted replaced
18291:130a48e6cc13 18292:3a85989b7e2c
2310 clear_waiting_for_input (); 2310 clear_waiting_for_input ();
2311 XSETPROCESS (proc, wait_proc); 2311 XSETPROCESS (proc, wait_proc);
2312 2312
2313 /* Read data from the process, until we exhaust it. */ 2313 /* Read data from the process, until we exhaust it. */
2314 while (XINT (wait_proc->infd) >= 0 2314 while (XINT (wait_proc->infd) >= 0
2315 && nread = read_process_output (proc, XINT (wait_proc->infd))) 2315 && (nread
2316 = read_process_output (proc, XINT (wait_proc->infd))))
2316 total_nread += nread; 2317 total_nread += nread;
2317 if (total_nread > 0 && do_display) 2318 if (total_nread > 0 && do_display)
2318 redisplay_preserve_echo_area (); 2319 redisplay_preserve_echo_area ();
2319 2320
2320 break; 2321 break;