Author: matthew
Date: 2011-03-14 16:08:35 -0600 (Mon, 14 Mar 2011)
New Revision: 2286

Added:
   trunk/readline/readline-6.2-fixes-1.patch
Log:
Add latest upstream fixes for Readline-6.2.

Added: trunk/readline/readline-6.2-fixes-1.patch
===================================================================
--- trunk/readline/readline-6.2-fixes-1.patch                           (rev 0)
+++ trunk/readline/readline-6.2-fixes-1.patch   2011-03-14 22:08:35 UTC (rev 
2286)
@@ -0,0 +1,32 @@
+Submitted By:            Matt Burgess <matthew_at_linuxfromscratch_dot_org>
+Date:                    2011-03-08
+Initial Package Version: 6.2
+Upstream Status:         Already in upstream patch repo
+Origin:                  Upstream
+Description:             This patch contains upstream patch numbers 001 thru 
001.
+
+diff -Naur readline-6.2.orig/callback.c readline-6.2/callback.c
+--- readline-6.2.orig/callback.c       2010-06-06 16:18:58.000000000 +0000
++++ readline-6.2/callback.c    2011-03-08 23:11:53.000000000 +0000
+@@ -148,6 +148,9 @@
+         eof = _rl_vi_domove_callback (_rl_vimvcxt);
+         /* Should handle everything, including cleanup, numeric arguments,
+            and turning off RL_STATE_VIMOTION */
++        if (RL_ISSTATE (RL_STATE_NUMERICARG) == 0)
++          _rl_internal_char_cleanup ();
++
+         return;
+       }
+ #endif
+diff -Naur readline-6.2.orig/vi_mode.c readline-6.2/vi_mode.c
+--- readline-6.2.orig/vi_mode.c        2010-11-21 00:51:39.000000000 +0000
++++ readline-6.2/vi_mode.c     2011-03-08 23:11:53.000000000 +0000
+@@ -1114,7 +1114,7 @@
+       rl_beg_of_line (1, c);
+       _rl_vi_last_motion = c;
+       RL_UNSETSTATE (RL_STATE_VIMOTION);
+-      return (0);
++      return (vidomove_dispatch (m));
+     }
+ #if defined (READLINE_CALLBACKS)
+   /* XXX - these need to handle rl_universal_argument bindings */

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to