rcolebaugh / rpms / bash

Forked from rpms/bash a year ago
Clone

Blame SOURCES/bash-4.4-unset-nonblock-stdin.patch

50ece2
diff --git a/parse.y b/parse.y
50ece2
index 85f1c4f..9d1cdf8 100644
50ece2
--- a/parse.y
50ece2
+++ b/parse.y
50ece2
@@ -1453,6 +1453,7 @@ yy_readline_get ()
50ece2
 	  old_sigint = (SigHandler *)set_signal_handler (SIGINT, sigint_sighandler);
50ece2
 	}
50ece2
 
50ece2
+      sh_unset_nodelay_mode (fileno (rl_instream));	/* just in case */
50ece2
       current_readline_line = readline (current_readline_prompt ?
50ece2
       					  current_readline_prompt : "");