• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/bash/bash-4.2-002.patch
Gustavo ZacariasGustavo Zacarias committed 6ba2d9e28ce14 Nov 2011
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
                 BASH PATCH REPORT
2
                 =================
3
​
4
Bash-Release:   4.2
5
Patch-ID:   bash42-002
6
​
7
Bug-Reported-by:    Clark J. Wang <dearvoid@gmail.com>
8
Bug-Reference-ID:   <AANLkTimGbW7aC4E5infXP6ku5WPci4t=xVc+L1SyHqrD@mail.gmail.com>
9
Bug-Reference-URL:  http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00157.html
10
​
11
Bug-Description:
12
​
13
The readline vi-mode `cc', `dd', and `yy' commands failed to modify the
14
entire line.
15
​
16
Patch (apply with `patch -p0'):
17
​
18
*** ../bash-4.2-patched/lib/readline/vi_mode.c  2010-11-20 19:51:39.000000000 -0500
19
--- ./lib/readline/vi_mode.c    2011-02-17 20:24:25.000000000 -0500
20
***************
21
*** 1115,1119 ****
22
        _rl_vi_last_motion = c;
23
        RL_UNSETSTATE (RL_STATE_VIMOTION);
24
!       return (0);
25
      }
26
  #if defined (READLINE_CALLBACKS)
27
--- 1115,1119 ----
28
        _rl_vi_last_motion = c;
29
        RL_UNSETSTATE (RL_STATE_VIMOTION);
30
!       return (vidomove_dispatch (m));
31
      }
32
  #if defined (READLINE_CALLBACKS)
33
*** ../bash-4.2-patched/lib/readline/callback.c 2010-06-06 12:18:58.000000000 -0400
34
--- ./lib/readline/callback.c   2011-02-17 20:43:28.000000000 -0500
35
***************
36
*** 149,152 ****
37
--- 149,155 ----
38
      /* Should handle everything, including cleanup, numeric arguments,
39
         and turning off RL_STATE_VIMOTION */
40
+     if (RL_ISSTATE (RL_STATE_NUMERICARG) == 0)
41
+       _rl_internal_char_cleanup ();
42
+ 
43
      return;
44
    }
45
*** ../bash-4.2-patched/patchlevel.h    Sat Jun 12 20:14:48 2010
46
--- ./patchlevel.h  Thu Feb 24 21:41:34 2011
47
***************
48
*** 26,30 ****
49
     looks for to find the patch level (for the sccs version string). */
50
  
51
! #define PATCHLEVEL 1
52
  
53
  #endif /* _PATCHLEVEL_H_ */
54
--- 26,30 ----
55
     looks for to find the patch level (for the sccs version string). */
56
  
57
! #define PATCHLEVEL 2
58
  
59
  #endif /* _PATCHLEVEL_H_ */
60
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.