source:
patches/readline-6.2-branch_update-1.patch@
21e442f
Last change on this file since 21e442f was d116d7e, checked in by , 14 years ago | |
---|---|
|
|
File size: 1.1 KB |
Rev | Line | |
---|---|---|
[d116d7e] | 1 | Submitted By: Joe Ciccone <jciccone@gmail.com> |
2 | Date: 2011-04-16 | |
3 | Initial Package Version: 6.2 | |
4 | Origin: Upstream | |
5 | Upstream Status: From Upstream | |
6 | Description: Contains all upstream patches up to 6.2-001 | |
7 | ||
8 | diff -Naur readline-6.2.orig/callback.c readline-6.2/callback.c | |
9 | --- readline-6.2.orig/callback.c 2010-06-06 12:18:58.000000000 -0400 | |
10 | +++ readline-6.2/callback.c 2011-04-16 18:22:51.887217112 -0400 | |
11 | @@ -148,6 +148,9 @@ | |
12 | eof = _rl_vi_domove_callback (_rl_vimvcxt); | |
13 | /* Should handle everything, including cleanup, numeric arguments, | |
14 | and turning off RL_STATE_VIMOTION */ | |
15 | + if (RL_ISSTATE (RL_STATE_NUMERICARG) == 0) | |
16 | + _rl_internal_char_cleanup (); | |
17 | + | |
18 | return; | |
19 | } | |
20 | #endif | |
21 | diff -Naur readline-6.2.orig/vi_mode.c readline-6.2/vi_mode.c | |
22 | --- readline-6.2.orig/vi_mode.c 2010-11-20 19:51:39.000000000 -0500 | |
23 | +++ readline-6.2/vi_mode.c 2011-04-16 18:22:51.887217112 -0400 | |
24 | @@ -1114,7 +1114,7 @@ | |
25 | rl_beg_of_line (1, c); | |
26 | _rl_vi_last_motion = c; | |
27 | RL_UNSETSTATE (RL_STATE_VIMOTION); | |
28 | - return (0); | |
29 | + return (vidomove_dispatch (m)); | |
30 | } | |
31 | #if defined (READLINE_CALLBACKS) | |
32 | /* XXX - these need to handle rl_universal_argument bindings */ |
Note:
See TracBrowser
for help on using the repository browser.