Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/readline/files: readline-6.3-dispatch-multikey.patch
Date: Fri, 28 Mar 2014 19:04:54
Message-Id: 20140328190447.EC96E20054@flycatcher.gentoo.org
1 vapier 14/03/28 19:04:47
2
3 Modified: readline-6.3-dispatch-multikey.patch
4 Log:
5 Update multikey patch from upstream #504440#8 by Martin von Gagern.
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
8
9 Revision Changes Path
10 1.2 sys-libs/readline/files/readline-6.3-dispatch-multikey.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/readline/files/readline-6.3-dispatch-multikey.patch?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/readline/files/readline-6.3-dispatch-multikey.patch?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/readline/files/readline-6.3-dispatch-multikey.patch?r1=1.1&r2=1.2
15
16 Index: readline-6.3-dispatch-multikey.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/readline/files/readline-6.3-dispatch-multikey.patch,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- readline-6.3-dispatch-multikey.patch 13 Mar 2014 09:21:33 -0000 1.1
23 +++ readline-6.3-dispatch-multikey.patch 28 Mar 2014 19:04:47 -0000 1.2
24 @@ -1,8 +1,9 @@
25 https://bugs.gentoo.org/504440
26 -https://lists.gnu.org/archive/html/bug-readline/2014-03/msg00031.html
27 +v1: https://lists.gnu.org/archive/html/bug-readline/2014-03/msg00031.html
28 +v2: https://lists.gnu.org/archive/html/bug-readline/2014-03/msg00034.html
29
30 *** ../bash-4.3/lib/readline/readline.c 2013-10-28 14:58:06.000000000 -0400
31 ---- lib/readline/readline.c 2014-03-10 11:01:19.000000000 -0400
32 +--- lib/readline/readline.c 2014-03-10 14:15:02.000000000 -0400
33 ***************
34 *** 745,749 ****
35
36 @@ -10,9 +11,10 @@
37 ! if (r == 0) /* success! */
38 {
39 _rl_keyseq_chain_dispose ();
40 ---- 745,749 ----
41 +--- 745,750 ----
42
43 RL_CHECK_SIGNALS ();
44 -! if (r == 0 || (r == -1 && (cxt->flags & KSEQ_SUBSEQ) == 0)) /* success! or failure! */
45 +! /* We only treat values < 0 specially to simulate recursion. */
46 +! if (r >= 0 || (r == -1 && (cxt->flags & KSEQ_SUBSEQ) == 0)) /* success! or failure! */
47 {
48 _rl_keyseq_chain_dispose ();