bash-4.4-unset-nonblock-stdin.patch 399 B

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