bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bash-4.2 Official patch 14


From: Chet Ramey
Subject: Bash-4.2 Official patch 14
Date: Wed, 23 Nov 2011 16:36:28 -0500

                             BASH PATCH REPORT
                             =================

Bash-Release:   4.2
Patch-ID:       bash42-014

Bug-Reported-by:        Shawn Bohrer <address@hidden>
Bug-Reference-ID:       <address@hidden>
Bug-Reference-URL:      
http://lists.gnu.org/archive/html/bug-bash/2011-05/msg00018.html

Bug-Description:

The regular expression matching operator did not correctly match
expressions with an embedded ^A.

Patch (apply with `patch -p0'):

*** ../bash-4.2-patched/pathexp.c       2010-08-13 23:21:57.000000000 -0400
--- pathexp.c   2011-05-05 16:40:58.000000000 -0400
***************
*** 197,201 ****
          if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/')
            continue;
!         if ((qflags & QGLOB_REGEXP) && ere_char (pathname[i+1]) == 0)
            continue;
          temp[j++] = '\\';
--- 197,201 ----
          if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/')
            continue;
!         if (pathname[i+1] != CTLESC && (qflags & QGLOB_REGEXP) && ere_char 
(pathname[i+1]) == 0)
            continue;
          temp[j++] = '\\';
*** ../bash-4.2-patched/patchlevel.h    Sat Jun 12 20:14:48 2010
--- patchlevel.h        Thu Feb 24 21:41:34 2011
***************
*** 26,30 ****
     looks for to find the patch level (for the sccs version string). */
  
! #define PATCHLEVEL 13
  
  #endif /* _PATCHLEVEL_H_ */
--- 26,30 ----
     looks for to find the patch level (for the sccs version string). */
  
! #define PATCHLEVEL 14
  
  #endif /* _PATCHLEVEL_H_ */

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]