diff options
Diffstat (limited to 'core/readline/readline-6.3-dispatch-multikey.patch')
-rw-r--r-- | core/readline/readline-6.3-dispatch-multikey.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/readline/readline-6.3-dispatch-multikey.patch b/core/readline/readline-6.3-dispatch-multikey.patch new file mode 100644 index 000000000..2624083a7 --- /dev/null +++ b/core/readline/readline-6.3-dispatch-multikey.patch @@ -0,0 +1,16 @@ +*** ../bash-4.3/lib/readline/readline.c 2013-10-28 14:58:06.000000000 -0400 +--- lib/readline/readline.c 2014-03-10 14:15:02.000000000 -0400 +*************** +*** 745,749 **** + + RL_CHECK_SIGNALS (); +! if (r == 0) /* success! */ + { + _rl_keyseq_chain_dispose (); +--- 745,750 ---- + + RL_CHECK_SIGNALS (); +! /* We only treat values < 0 specially to simulate recursion. */ +! if (r >= 0 || (r == -1 && (cxt->flags & KSEQ_SUBSEQ) == 0)) /* success! or failure! */ + { + _rl_keyseq_chain_dispose (); |