diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-03-11 17:01:44 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-03-11 17:03:01 +0100 |
commit | efa74eb42fb78393e8516d44d12566bf6fb43f02 (patch) | |
tree | f4b4c0b155faa428ab98980fa7ca48e211d15072 /main/readline/readline-6.3-dispatch-multikey.patch | |
parent | 148b7a69ea349823d970b7e22e0be9cffdc01450 (diff) | |
download | aports-efa74eb42fb78393e8516d44d12566bf6fb43f02.tar.bz2 aports-efa74eb42fb78393e8516d44d12566bf6fb43f02.tar.xz |
main/readline: add fix for various issues in dependent applications
Diffstat (limited to 'main/readline/readline-6.3-dispatch-multikey.patch')
-rw-r--r-- | main/readline/readline-6.3-dispatch-multikey.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main/readline/readline-6.3-dispatch-multikey.patch b/main/readline/readline-6.3-dispatch-multikey.patch new file mode 100644 index 000000000..5996bb8a6 --- /dev/null +++ b/main/readline/readline-6.3-dispatch-multikey.patch @@ -0,0 +1,16 @@ +*** readline/readline.c 2013-10-28 14:58:06.000000000 -0400 +--- 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 (); |