source: patches/readline-6.2-branch_update-1.patch@ 01962cfe

clfs-1.2
Last change on this file since 01962cfe was d116d7e, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Updated Readline to 6.2.

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[d116d7e]1Submitted By: Joe Ciccone <jciccone@gmail.com>
2Date: 2011-04-16
3Initial Package Version: 6.2
4Origin: Upstream
5Upstream Status: From Upstream
6Description: Contains all upstream patches up to 6.2-001
7
8diff -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
21diff -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.