Blame SOURCES/bash42-027

ff19ae
			     BASH PATCH REPORT
ff19ae
			     =================
ff19ae
ff19ae
Bash-Release:	4.2
ff19ae
Patch-ID:	bash42-027
ff19ae
ff19ae
Bug-Reported-by:	Mike Frysinger <vapier@gentoo.org>
ff19ae
Bug-Reference-ID:	<201204211243.30163.vapier@gentoo.org>
ff19ae
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2012-04/msg00134.html
ff19ae
ff19ae
Bug-Description:
ff19ae
ff19ae
When the `extglob' shell option is enabled, pattern substitution does not
ff19ae
work correctly in the presence of multibyte characters.
ff19ae
ff19ae
Patch (apply with `patch -p0'):
ff19ae
ff19ae
*** ../bash-4.2-patched/subst.c	2012-03-11 17:52:57.000000000 -0400
ff19ae
--- subst.c	2012-04-22 16:19:10.000000000 -0400
ff19ae
***************
ff19ae
*** 4167,4171 ****
ff19ae
  #if defined (EXTENDED_GLOB)
ff19ae
    if (extended_glob)
ff19ae
!     simple |= (wpat[1] != L'(' || (wpat[0] != L'*' && wpat[0] != L'?' && wpat[0] != L'+' && wpat[0] != L'!' && wpat[0] != L'@')); /*)*/
ff19ae
  #endif
ff19ae
  
ff19ae
--- 4167,4171 ----
ff19ae
  #if defined (EXTENDED_GLOB)
ff19ae
    if (extended_glob)
ff19ae
!     simple &= (wpat[1] != L'(' || (wpat[0] != L'*' && wpat[0] != L'?' && wpat[0] != L'+' && wpat[0] != L'!' && wpat[0] != L'@')); /*)*/
ff19ae
  #endif
ff19ae
  
ff19ae
*** ../bash-4.2-patched/patchlevel.h	Sat Jun 12 20:14:48 2010
ff19ae
--- patchlevel.h	Thu Feb 24 21:41:34 2011
ff19ae
***************
ff19ae
*** 26,30 ****
ff19ae
     looks for to find the patch level (for the sccs version string). */
ff19ae
  
ff19ae
! #define PATCHLEVEL 26
ff19ae
  
ff19ae
  #endif /* _PATCHLEVEL_H_ */
ff19ae
--- 26,30 ----
ff19ae
     looks for to find the patch level (for the sccs version string). */
ff19ae
  
ff19ae
! #define PATCHLEVEL 27
ff19ae
  
ff19ae
  #endif /* _PATCHLEVEL_H_ */