]> git.pld-linux.org Git - packages/bash.git/blob - bash40-030
- up to 4.0.33
[packages/bash.git] / bash40-030
1                              BASH PATCH REPORT
2                              =================
3
4 Bash-Release: 4.0
5 Patch-ID: bash40-030
6
7 Bug-Reported-by:        Henning Bekel <h.bekel@googlemail.com>
8 Bug-Reference-ID:       <7c6eacF262ctuU1@mid.individual.net>
9 Bug-Reference-URL:      http://lists.gnu.org/archive/html/bug-bash/2009-07/msg00054.html
10
11 Bug-Description:
12
13 A shell function invoked with `bind -x' is supposed to be able to move the
14 cursor by setting READLINE_POINT.  The effects of this assignment were
15 sometimes ignored.
16
17 Patch:
18
19 *** ../bash-4.0-patched/bashline.c      2009-01-08 09:29:24.000000000 -0500
20 --- bashline.c  2009-07-16 14:13:41.000000000 -0400
21 ***************
22 *** 3389,3393 ****
23     register int i;
24     intmax_t mi;
25 -   int save_point;
26     sh_parser_state_t ps;
27     char *cmd, *value, *l;
28 --- 3389,3392 ----
29 ***************
30 *** 3433,3437 ****
31       VSETATTR (v, att_exported);
32     l = value_cell (v);
33 -   save_point = rl_point;
34     value = inttostr (rl_point, ibuf, sizeof (ibuf));
35     v = bind_int_variable ("READLINE_POINT", value);
36 --- 3432,3435 ----
37 ***************
38 *** 3451,3455 ****
39       {
40         i = mi;
41 !       if (i != save_point)
42         {
43           rl_point = i;
44 --- 3449,3453 ----
45       {
46         i = mi;
47 !       if (i != rl_point)
48         {
49           rl_point = i;
50 *** ../bash-4.0/patchlevel.h    2009-01-04 14:32:40.000000000 -0500
51 --- patchlevel.h        2009-02-22 16:11:31.000000000 -0500
52 ***************
53 *** 26,30 ****
54      looks for to find the patch level (for the sccs version string). */
55   
56 ! #define PATCHLEVEL 29
57   
58   #endif /* _PATCHLEVEL_H_ */
59 --- 26,30 ----
60      looks for to find the patch level (for the sccs version string). */
61   
62 ! #define PATCHLEVEL 30
63   
64   #endif /* _PATCHLEVEL_H_ */
This page took 0.073694 seconds and 3 git commands to generate.