]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/readline/readline62-001
Merge remote-tracking branch 'origin/next' into thirteen
[people/pmueller/ipfire-2.x.git] / src / patches / readline / readline62-001
CommitLineData
f19b3cb6
MT
1 READLINE PATCH REPORT
2 =====================
3
4Readline-Release: 6.2
5Patch-ID: readline62-001
6
7Bug-Reported-by: Clark J. Wang <dearvoid@gmail.com>
8Bug-Reference-ID: <AANLkTimGbW7aC4E5infXP6ku5WPci4t=xVc+L1SyHqrD@mail.gmail.com>
9Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00157.html
10
11Bug-Description:
12
13The readline vi-mode `cc', `dd', and `yy' commands failed to modify the
14entire line.
15
16[This patch intentionally does not modify patchlevel]
17
18Patch (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 }