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