64 lines
2.6 KiB
Plaintext
64 lines
2.6 KiB
Plaintext
BASH PATCH REPORT
|
|
=================
|
|
|
|
Bash-Release: 4.3
|
|
Patch-ID: bash43-005
|
|
|
|
Bug-Reported-by: David Sines <dave.gma@googlemail.com>
|
|
Bug-Reference-ID: <CAO3BAa_CK_Rgkhdfzs+NJ4KFYdB9qW3pvXQK0xLCi6GMmDU8bw@mail.gmail.com>
|
|
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00037.html
|
|
|
|
Bug-Description:
|
|
|
|
When in Posix mode, bash did not correctly interpret the ANSI-C-style
|
|
$'...' quoting mechanism when performing pattern substitution word
|
|
expansions within double quotes.
|
|
|
|
Patch (apply with `patch -p0'):
|
|
|
|
*** ../bash-4.3/parse.y 2014-02-11 09:42:10.000000000 -0500
|
|
--- parse.y 2014-03-07 20:57:15.000000000 -0500
|
|
***************
|
|
*** 3399,3403 ****
|
|
unescaped double-quotes or single-quotes, if any, shall occur." */
|
|
/* This was changed in Austin Group Interp 221 */
|
|
! if MBTEST(posixly_correct && shell_compatibility_level > 41 && dolbrace_state != DOLBRACE_QUOTE && (flags & P_DQUOTE) && (flags & P_DOLBRACE) && ch == '\'')
|
|
continue;
|
|
|
|
--- 3399,3403 ----
|
|
unescaped double-quotes or single-quotes, if any, shall occur." */
|
|
/* This was changed in Austin Group Interp 221 */
|
|
! if MBTEST(posixly_correct && shell_compatibility_level > 41 && dolbrace_state != DOLBRACE_QUOTE && dolbrace_state != DOLBRACE_QUOTE2 && (flags & P_DQUOTE) && (flags & P_DOLBRACE) && ch == '\'')
|
|
continue;
|
|
|
|
*** ../bash-4.3/y.tab.c 2014-02-11 10:57:47.000000000 -0500
|
|
--- y.tab.c 2014-03-28 10:41:15.000000000 -0400
|
|
***************
|
|
*** 5711,5715 ****
|
|
unescaped double-quotes or single-quotes, if any, shall occur." */
|
|
/* This was changed in Austin Group Interp 221 */
|
|
! if MBTEST(posixly_correct && shell_compatibility_level > 41 && dolbrace_state != DOLBRACE_QUOTE && (flags & P_DQUOTE) && (flags & P_DOLBRACE) && ch == '\'')
|
|
continue;
|
|
|
|
--- 5711,5715 ----
|
|
unescaped double-quotes or single-quotes, if any, shall occur." */
|
|
/* This was changed in Austin Group Interp 221 */
|
|
! if MBTEST(posixly_correct && shell_compatibility_level > 41 && dolbrace_state != DOLBRACE_QUOTE && dolbrace_state != DOLBRACE_QUOTE2 && (flags & P_DQUOTE) && (flags & P_DOLBRACE) && ch == '\'')
|
|
continue;
|
|
|
|
*** ../bash-4.3/patchlevel.h 2012-12-29 10:47:57.000000000 -0500
|
|
--- patchlevel.h 2014-03-20 20:01:28.000000000 -0400
|
|
***************
|
|
*** 26,30 ****
|
|
looks for to find the patch level (for the sccs version string). */
|
|
|
|
! #define PATCHLEVEL 4
|
|
|
|
#endif /* _PATCHLEVEL_H_ */
|
|
--- 26,30 ----
|
|
looks for to find the patch level (for the sccs version string). */
|
|
|
|
! #define PATCHLEVEL 5
|
|
|
|
#endif /* _PATCHLEVEL_H_ */
|