7 Bug-Reported-by: BAGSHAW Paul RD-TECH-REN <paul.bagshaw@orange-ftgroup.com>
8 Bug-Reference-ID: <941BA0BF46DB8F4983FF7C8AFE800BC205EA7D4B@ftrdmel3.rd.francetelecom.fr>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2007-03/msg00065.html
13 When the parser read a backslash-escaped character that would be treated
14 internally as an escape, it would double the number of escape characters.
18 *** ../bash-3.2-patched/parse.y Mon Oct 30 17:22:00 2006
19 --- bash-3.2/parse.y Sat Mar 24 17:13:20 2007
23 pass_next_character = 0;
29 pass_next_character = 0;
30 ! goto got_escaped_character;
37 - all_digit_token &= DIGIT (character);
38 - dollar_present |= character == '$';
40 if (character == CTLESC || character == CTLNUL)
41 token[token_index++] = CTLESC;
43 token[token_index++] = character;
48 if (character == CTLESC || character == CTLNUL)
49 token[token_index++] = CTLESC;
51 + got_escaped_character:
53 + all_digit_token &= DIGIT (character);
54 + dollar_present |= character == '$';
56 token[token_index++] = character;
58 *** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
59 --- bash-3.2/patchlevel.h Mon Oct 16 14:22:54 2006
62 looks for to find the patch level (for the sccs version string). */
64 ! #define PATCHLEVEL 20
66 #endif /* _PATCHLEVEL_H_ */
68 looks for to find the patch level (for the sccs version string). */
70 ! #define PATCHLEVEL 21
72 #endif /* _PATCHLEVEL_H_ */