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
13 When using historical ``-style command substitution, bash incorrectly attempts
14 to interpret shell comments while scanning for the closing backquote.
18 *** bash-3.2/parse.y Tue Sep 19 16:37:21 2006
19 --- bash-3.2/parse.y Thu Oct 12 10:30:57 2006
23 pass_next_character = backq_backslash = was_dollar = in_comment = 0;
24 ! check_comment = (flags & P_COMMAND) && qc != '\'' && qc != '"' && (flags & P_DQUOTE) == 0;
26 /* RFLAGS is the set of flags we want to pass to recursive calls. */
29 pass_next_character = backq_backslash = was_dollar = in_comment = 0;
30 ! check_comment = (flags & P_COMMAND) && qc != '`' && qc != '\'' && qc != '"' && (flags & P_DQUOTE) == 0;
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 --- bash-3.2/patchlevel.h Mon Oct 16 14:22:54 2006
37 looks for to find the patch level (for the sccs version string). */
39 ! #define PATCHLEVEL 0
41 #endif /* _PATCHLEVEL_H_ */
43 looks for to find the patch level (for the sccs version string). */
45 ! #define PATCHLEVEL 1
47 #endif /* _PATCHLEVEL_H_ */