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