illumos-gcc: remove -j8, so higher-level jobserver gets used
[unleashed-userland.git] / components / library / readline / patches / readline63-001.patch
blob86d028cd123953d38eba96639afc452309b63a0c
1 # DP: readline63-001 upstream patch
3 READLINE PATCH REPORT
4 =====================
6 Readline-Release: 6.3
7 Patch-ID: readline63-001
9 Bug-Reported-by: Daan van Rossum <daan@flash.uchicago.edu>
10 Bug-Reference-ID: <20140307072523.GA14250@flash.uchicago.edu>
11 Bug-Reference-URL:
13 Bug-Description:
15 The `.' command in vi mode cannot undo multi-key commands beginning with
16 `c', `d', and `y' (command plus motion specifier).
18 Patch (apply with `patch -p0'):
20 Index: b/readline.c
21 ===================================================================
22 --- a/readline.c
23 +++ b/readline.c
24 @@ -964,7 +964,7 @@ _rl_dispatch_subseq (key, map, got_subse
25 #if defined (VI_MODE)
26 if (rl_editing_mode == vi_mode && _rl_keymap == vi_movement_keymap &&
27 key != ANYOTHERKEY &&
28 - rl_key_sequence_length == 1 && /* XXX */
29 + _rl_dispatching_keymap == vi_movement_keymap &&
30 _rl_vi_textmod_command (key))
31 _rl_vi_set_last (key, rl_numeric_arg, rl_arg_sign);
32 #endif