]>
Commit | Line | Data |
---|---|---|
24acfa14 MT |
1 | BASH PATCH REPORT |
2 | ================= | |
3 | ||
4 | Bash-Release: 3.2 | |
5 | Patch-ID: bash32-001 | |
6 | ||
7 | Bug-Reported-by: Greg Schafer <gschafer@zip.com.au> | |
8 | Bug-Reference-ID: <20061012084940.GA15768@tigers.local> | |
9 | Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-10/msg00046.html | |
10 | ||
11 | Bug-Description: | |
12 | ||
13 | When using historical ``-style command substitution, bash incorrectly attempts | |
14 | to interpret shell comments while scanning for the closing backquote. | |
15 | ||
16 | Patch: | |
17 | ||
18 | *** ../bash-3.2/parse.y Tue Sep 19 16:37:21 2006 | |
19 | --- parse.y Thu Oct 12 10:30:57 2006 | |
20 | *************** | |
21 | *** 2736,2740 **** | |
22 | count = 1; | |
23 | pass_next_character = backq_backslash = was_dollar = in_comment = 0; | |
24 | ! check_comment = (flags & P_COMMAND) && qc != '\'' && qc != '"' && (flags & P_DQUOTE) == 0; | |
25 | ||
26 | /* RFLAGS is the set of flags we want to pass to recursive calls. */ | |
27 | --- 2736,2740 ---- | |
28 | count = 1; | |
29 | pass_next_character = backq_backslash = was_dollar = in_comment = 0; | |
30 | ! check_comment = (flags & P_COMMAND) && qc != '`' && qc != '\'' && qc != '"' && (flags & P_DQUOTE) == 0; | |
31 | ||
32 | /* RFLAGS is the set of flags we want to pass to recursive calls. */ | |
33 | *** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006 | |
34 | --- patchlevel.h Mon Oct 16 14:22:54 2006 | |
35 | *************** | |
36 | *** 26,30 **** | |
37 | looks for to find the patch level (for the sccs version string). */ | |
38 | ||
39 | ! #define PATCHLEVEL 0 | |
40 | ||
41 | #endif /* _PATCHLEVEL_H_ */ | |
42 | --- 26,30 ---- | |
43 | looks for to find the patch level (for the sccs version string). */ | |
44 | ||
45 | ! #define PATCHLEVEL 1 | |
46 | ||
47 | #endif /* _PATCHLEVEL_H_ */ |