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