source: npl/system/bash/bash-4.3-patches/bash43-005 @ 1051986

perl-5.22
Last change on this file since 1051986 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 2.6 KB
Line 
1                             BASH PATCH REPORT
2                             =================
3
4Bash-Release:   4.3
5Patch-ID:       bash43-005
6
7Bug-Reported-by:        David Sines <dave.gma@googlemail.com>
8Bug-Reference-ID:       <CAO3BAa_CK_Rgkhdfzs+NJ4KFYdB9qW3pvXQK0xLCi6GMmDU8bw@mail.gmail.com>
9Bug-Reference-URL:      http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00037.html
10
11Bug-Description:
12
13When in Posix mode, bash did not correctly interpret the ANSI-C-style
14$'...' quoting mechanism when performing pattern substitution word
15expansions within double quotes.
16
17Patch (apply with `patch -p0'):
18
19*** ../bash-4.3/parse.y 2014-02-11 09:42:10.000000000 -0500
20--- parse.y     2014-03-07 20:57:15.000000000 -0500
21***************
22*** 3399,3403 ****
23           unescaped double-quotes or single-quotes, if any, shall occur." */
24        /* This was changed in Austin Group Interp 221 */
25!       if MBTEST(posixly_correct && shell_compatibility_level > 41 && dolbrace_state != DOLBRACE_QUOTE && (flags & P_DQUOTE) && (flags & P_DOLBRACE) && ch == '\'')
26        continue;
27 
28--- 3399,3403 ----
29           unescaped double-quotes or single-quotes, if any, shall occur." */
30        /* This was changed in Austin Group Interp 221 */
31!       if MBTEST(posixly_correct && shell_compatibility_level > 41 && dolbrace_state != DOLBRACE_QUOTE && dolbrace_state != DOLBRACE_QUOTE2 && (flags & P_DQUOTE) && (flags & P_DOLBRACE) && ch == '\'')
32        continue;
33 
34*** ../bash-4.3/y.tab.c 2014-02-11 10:57:47.000000000 -0500
35--- y.tab.c     2014-03-28 10:41:15.000000000 -0400
36***************
37*** 5711,5715 ****
38           unescaped double-quotes or single-quotes, if any, shall occur." */
39        /* This was changed in Austin Group Interp 221 */
40!       if MBTEST(posixly_correct && shell_compatibility_level > 41 && dolbrace_state != DOLBRACE_QUOTE && (flags & P_DQUOTE) && (flags & P_DOLBRACE) && ch == '\'')
41        continue;
42 
43--- 5711,5715 ----
44           unescaped double-quotes or single-quotes, if any, shall occur." */
45        /* This was changed in Austin Group Interp 221 */
46!       if MBTEST(posixly_correct && shell_compatibility_level > 41 && dolbrace_state != DOLBRACE_QUOTE && dolbrace_state != DOLBRACE_QUOTE2 && (flags & P_DQUOTE) && (flags & P_DOLBRACE) && ch == '\'')
47        continue;
48 
49*** ../bash-4.3/patchlevel.h    2012-12-29 10:47:57.000000000 -0500
50--- patchlevel.h        2014-03-20 20:01:28.000000000 -0400
51***************
52*** 26,30 ****
53     looks for to find the patch level (for the sccs version string). */
54 
55! #define PATCHLEVEL 4
56 
57  #endif /* _PATCHLEVEL_H_ */
58--- 26,30 ----
59     looks for to find the patch level (for the sccs version string). */
60 
61! #define PATCHLEVEL 5
62 
63  #endif /* _PATCHLEVEL_H_ */
Note: See TracBrowser for help on using the repository browser.