]> git.pld-linux.org Git - packages/bash.git/blame - bash30-007
- up to 3.1
[packages/bash.git] / bash30-007
CommitLineData
4e9fe84f
JB
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 3.0
5Patch-ID: bash30-007
6
7Bug-Reported-by: Oliver Kiddle <okiddle@yahoo.co.uk>
8 Tim Waugh <twaugh@redhat.com>
9Bug-Reference-ID: <10454.1091313247@athlon>
10 <20040804100140.GX8175@redhat.com>
11Bug-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
14Bug-Description:
15
16Two bugs:
17
18How does it decide what characters are allowed. The following really
19looks like a bug to me:
20$ echo {<C4>..D}
21That's accepted and produces output that seems to wrap round to ^A and
22then goes up to D. Note that I'm using an ISO-8859-1 locale. If that
23works at all, it should surely descend.
24
25This short script:
26
27var=baz
28echo foo{bar,${var}.}
29echo foo{bar,${var}}
30
31gives the following output with bash-3.0:
32
33./test: line 2: foo${var.}: bad substitution
34foobar} foobaz
35
36Patch:
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.275063 seconds and 4 git commands to generate.