]> git.pld-linux.org Git - packages/bash.git/blob - bash30-007
- missing export
[packages/bash.git] / bash30-007
1                              BASH PATCH REPORT
2                              =================
3
4 Bash-Release: 3.0
5 Patch-ID: bash30-007
6
7 Bug-Reported-by: Oliver Kiddle <okiddle@yahoo.co.uk>
8                  Tim Waugh <twaugh@redhat.com>
9 Bug-Reference-ID: <10454.1091313247@athlon>
10                   <20040804100140.GX8175@redhat.com>
11 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2004-07/msg00313.html
12                    http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00056.html
13
14 Bug-Description:
15
16 Two bugs:
17
18 How does it decide what characters are allowed. The following really
19 looks like a bug to me:
20 $ echo {<C4>..D}
21 That's accepted and produces output that seems to wrap round to ^A and
22 then goes up to D. Note that I'm using an ISO-8859-1 locale. If that
23 works at all, it should surely descend.
24
25 This short script:
26
27 var=baz
28 echo foo{bar,${var}.}
29 echo foo{bar,${var}}
30
31 gives the following output with bash-3.0:
32
33 ./test: line 2: foo${var.}: bad substitution
34 foobar} foobaz
35
36 Patch:
37
38 *** ../bash-3.0/braces.c        Thu Dec  4 11:09:52 2003
39 --- braces.c    Wed Aug  4 14:34:33 2004
40 ***************
41 *** 341,346 ****
42     if (lhs_t == ST_CHAR)
43       {
44 !       lhs_v = lhs[0];
45 !       rhs_v = rhs[0];
46       }
47     else
48 --- 341,346 ----
49     if (lhs_t == ST_CHAR)
50       {
51 !       lhs_v = (unsigned char)lhs[0];
52 !       rhs_v = (unsigned char)rhs[0];
53       }
54     else
55 ***************
56 *** 403,406 ****
57 --- 403,407 ----
58           pass_next = 1;
59           i++;
60 +         level++;
61           continue;
62         }
63
64 *** ../bash-3.0/patchlevel.h    Wed Aug 22 08:05:39 2001
65 --- patchlevel.h        Thu Sep  2 15:04:32 2004
66 ***************
67 *** 26,30 ****
68      looks for to find the patch level (for the sccs version string). */
69   
70 ! #define PATCHLEVEL 6
71   
72   #endif /* _PATCHLEVEL_H_ */
73 --- 26,30 ----
74      looks for to find the patch level (for the sccs version string). */
75   
76 ! #define PATCHLEVEL 7
77   
78   #endif /* _PATCHLEVEL_H_ */
This page took 0.039749 seconds and 3 git commands to generate.