nalika / rpms / bash

Forked from rpms/bash 2 years ago
Clone

Blame SOURCES/bash42-027

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