nalika / rpms / bash

Forked from rpms/bash 2 years ago
Clone
9014c4
diff --git a/parse.y b/parse.y
9014c4
index 85f1c4f..9d1cdf8 100644
9014c4
--- a/parse.y
9014c4
+++ b/parse.y
9014c4
@@ -1453,6 +1453,7 @@ yy_readline_get ()
9014c4
 	  old_sigint = (SigHandler *)set_signal_handler (SIGINT, sigint_sighandler);
9014c4
 	}
9014c4
 
9014c4
+      sh_unset_nodelay_mode (fileno (rl_instream));	/* just in case */
9014c4
       current_readline_line = readline (current_readline_prompt ?
9014c4
       					  current_readline_prompt : "");