changeset 2893:4df57953d5d0

* process.c (wait_reading_process_input): Don't forget to call clear_waiting_for_input when we exit the loop because process input has arrived.
author Jim Blandy <jimb@redhat.com>
date Wed, 19 May 1993 05:05:46 +0000
parents 7ff263825550
children 646c5beae647
files src/process.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Wed May 19 04:58:19 1993 +0000
+++ b/src/process.c	Wed May 19 05:05:46 1993 +0000
@@ -1773,7 +1773,10 @@
 	update_status (wait_proc);
       if (wait_proc != 0
 	  && ! EQ (wait_proc->status, Qrun))
-	break;
+	{
+	  clear_waiting_for_input ();
+	  break;
+	}
 
       /* Wait till there is something to do */