Bug-Reported-by: Clark J. Wang <dearvoid@gmail.com>
Bug-Reference-ID: <AANLkTimGbW7aC4E5infXP6ku5WPci4t=xVc+L1SyHqrD@mail.gmail.com>
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00157.html
The readline vi-mode `cc', `dd', and `yy' commands failed to modify the
Patch (apply with `patch -p0'):
*** ../bash-4.2-patched/lib/readline/vi_mode.c 2010-11-20 19:51:39.000000000 -0500
--- ./lib/readline/vi_mode.c 2011-02-17 20:24:25.000000000 -0500
RL_UNSETSTATE (RL_STATE_VIMOTION);
#if defined (READLINE_CALLBACKS)
RL_UNSETSTATE (RL_STATE_VIMOTION);
! return (vidomove_dispatch (m));
#if defined (READLINE_CALLBACKS)
*** ../bash-4.2-patched/lib/readline/callback.c 2010-06-06 12:18:58.000000000 -0400
--- ./lib/readline/callback.c 2011-02-17 20:43:28.000000000 -0500
/* Should handle everything, including cleanup, numeric arguments,
and turning off RL_STATE_VIMOTION */
+ if (RL_ISSTATE (RL_STATE_NUMERICARG) == 0)
+ _rl_internal_char_cleanup ();
*** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
--- ./patchlevel.h Thu Feb 24 21:41:34 2011
looks for to find the patch level (for the sccs version string). */
#endif /* _PATCHLEVEL_H_ */
looks for to find the patch level (for the sccs version string). */
#endif /* _PATCHLEVEL_H_ */