components/bash/patches/bash42-014.patch
changeset 5518 c47fe0edc204
parent 5517 7758049098f4
child 5519 a02d4d12218f
equal deleted inserted replaced
5517:7758049098f4 5518:c47fe0edc204
     1 			     BASH PATCH REPORT
       
     2 			     =================
       
     3 
       
     4 Bash-Release:	4.2
       
     5 Patch-ID:	bash42-014
       
     6 
       
     7 Bug-Reported-by:	Shawn Bohrer <[email protected]>
       
     8 Bug-Reference-ID:	<[email protected]>
       
     9 Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2011-05/msg00018.html
       
    10 
       
    11 Bug-Description:
       
    12 
       
    13 The regular expression matching operator did not correctly match
       
    14 expressions with an embedded ^A.
       
    15 
       
    16 Patch (apply with `patch -p0'):
       
    17 
       
    18 *** ../bash-4.2-patched/pathexp.c	2010-08-13 23:21:57.000000000 -0400
       
    19 --- pathexp.c	2011-05-05 16:40:58.000000000 -0400
       
    20 ***************
       
    21 *** 197,201 ****
       
    22   	  if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/')
       
    23   	    continue;
       
    24 ! 	  if ((qflags & QGLOB_REGEXP) && ere_char (pathname[i+1]) == 0)
       
    25   	    continue;
       
    26   	  temp[j++] = '\\';
       
    27 --- 197,201 ----
       
    28   	  if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/')
       
    29   	    continue;
       
    30 ! 	  if (pathname[i+1] != CTLESC && (qflags & QGLOB_REGEXP) && ere_char (pathname[i+1]) == 0)
       
    31   	    continue;
       
    32   	  temp[j++] = '\\';
       
    33 *** ../bash-4.2-patched/patchlevel.h	Sat Jun 12 20:14:48 2010
       
    34 --- patchlevel.h	Thu Feb 24 21:41:34 2011
       
    35 ***************
       
    36 *** 26,30 ****
       
    37      looks for to find the patch level (for the sccs version string). */
       
    38   
       
    39 ! #define PATCHLEVEL 13
       
    40   
       
    41   #endif /* _PATCHLEVEL_H_ */
       
    42 --- 26,30 ----
       
    43      looks for to find the patch level (for the sccs version string). */
       
    44   
       
    45 ! #define PATCHLEVEL 14
       
    46   
       
    47   #endif /* _PATCHLEVEL_H_ */