changeset 14935:3e0dc64a5cb8

(wait_reading_process_input): Don't call wait_reading_process_input_1 if time_limit is -1.
author Richard M. Stallman <rms@gnu.org>
date Wed, 03 Apr 1996 19:30:03 +0000
parents e0c9d34141dd
children ad2ca475c6d6
files src/process.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Wed Apr 03 19:08:28 1996 +0000
+++ b/src/process.c	Wed Apr 03 19:30:03 1996 +0000
@@ -2108,7 +2108,8 @@
 		  timeout_reduced_for_timers = 1;
 		}
 	    }
-	  else
+	  /* If time_limit is -1, we are not going to wait at all.  */
+	  else if (time_limit != -1)
 	    {
 	      /* This is so a breakpoint can be put here.  */
 	      wait_reading_process_input_1 ();