8593073b9ba8cecf3ae0f099d6f0a915f8e16fcc
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / readline / 0001-patchlevel-1.patch
1 From http://ftp.gnu.org/pub/gnu/readline/readline-6.3-patches/readline63-001
2
3 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
4
5                            READLINE PATCH REPORT
6                            =====================
7
8 Readline-Release: 6.3
9 Patch-ID: readline63-001
10
11 Bug-Reported-by:        Daan van Rossum <daan@flash.uchicago.edu>
12 Bug-Reference-ID:       <20140307072523.GA14250@flash.uchicago.edu>
13 Bug-Reference-URL:      
14
15 Bug-Description:
16
17 The `.' command in vi mode cannot undo multi-key commands beginning with
18 `c', `d', and `y' (command plus motion specifier).
19
20 Patch (apply with `patch -p0'):
21
22 *** a/readline-6.3/readline.c   2013-10-28 14:58:06.000000000 -0400
23 --- b/readline.c        2014-03-07 15:20:33.000000000 -0500
24 ***************
25 *** 965,969 ****
26     if (rl_editing_mode == vi_mode && _rl_keymap == vi_movement_keymap &&
27         key != ANYOTHERKEY &&
28 !       rl_key_sequence_length == 1 &&  /* XXX */
29         _rl_vi_textmod_command (key))
30       _rl_vi_set_last (key, rl_numeric_arg, rl_arg_sign);
31 --- 965,969 ----
32     if (rl_editing_mode == vi_mode && _rl_keymap == vi_movement_keymap &&
33         key != ANYOTHERKEY &&
34 !       _rl_dispatching_keymap == vi_movement_keymap &&
35         _rl_vi_textmod_command (key))
36       _rl_vi_set_last (key, rl_numeric_arg, rl_arg_sign);
37 *** a/readline-6.3/patchlevel   2013-11-15 08:11:11.000000000 -0500
38 --- b/patchlevel        2014-03-21 08:28:40.000000000 -0400
39 ***************
40 *** 1,3 ****
41   # Do not edit -- exists only for use by patch
42   
43 ! 5
44 --- 1,3 ----
45   # Do not edit -- exists only for use by patch
46   
47 ! 1