]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/readline/readline62-001
Merge branch 'kernel-update' of ssh://git.ipfire.org/pub/git/ipfire-2.x into kernel...
[people/teissler/ipfire-2.x.git] / src / patches / readline / readline62-001
1 READLINE PATCH REPORT
2 =====================
3
4 Readline-Release: 6.2
5 Patch-ID: readline62-001
6
7 Bug-Reported-by: Clark J. Wang <dearvoid@gmail.com>
8 Bug-Reference-ID: <AANLkTimGbW7aC4E5infXP6ku5WPci4t=xVc+L1SyHqrD@mail.gmail.com>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00157.html
10
11 Bug-Description:
12
13 The readline vi-mode `cc', `dd', and `yy' commands failed to modify the
14 entire line.
15
16 [This patch intentionally does not modify patchlevel]
17
18 Patch (apply with `patch -p0'):
19
20 *** ../readline-6.2-patched/vi_mode.c 2010-11-20 19:51:39.000000000 -0500
21 --- vi_mode.c 2011-02-17 20:24:25.000000000 -0500
22 ***************
23 *** 1115,1119 ****
24 _rl_vi_last_motion = c;
25 RL_UNSETSTATE (RL_STATE_VIMOTION);
26 ! return (0);
27 }
28 #if defined (READLINE_CALLBACKS)
29 --- 1115,1119 ----
30 _rl_vi_last_motion = c;
31 RL_UNSETSTATE (RL_STATE_VIMOTION);
32 ! return (vidomove_dispatch (m));
33 }
34 #if defined (READLINE_CALLBACKS)
35 *** ../readline-6.2-patched/callback.c 2010-06-06 12:18:58.000000000 -0400
36 --- callback.c 2011-02-17 20:43:28.000000000 -0500
37 ***************
38 *** 149,152 ****
39 --- 149,155 ----
40 /* Should handle everything, including cleanup, numeric arguments,
41 and turning off RL_STATE_VIMOTION */
42 + if (RL_ISSTATE (RL_STATE_NUMERICARG) == 0)
43 + _rl_internal_char_cleanup ();
44 +
45 return;
46 }