* process.c (wait_reading_process_input): Don't forget to call
authorJim Blandy <jimb@redhat.com>
Wed, 19 May 1993 05:05:46 +0000 (05:05 +0000)
committerJim Blandy <jimb@redhat.com>
Wed, 19 May 1993 05:05:46 +0000 (05:05 +0000)
clear_waiting_for_input when we exit the loop because process
input has arrived.

src/process.c

index 17a0ca6..fe98e4e 100644 (file)
@@ -1773,7 +1773,10 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
        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 */