|
|
07a490 |
BASH PATCH REPORT
|
|
|
07a490 |
=================
|
|
|
07a490 |
|
|
|
07a490 |
Bash-Release: 4.2
|
|
|
07a490 |
Patch-ID: bash42-014
|
|
|
07a490 |
|
|
|
07a490 |
Bug-Reported-by: Shawn Bohrer <sbohrer@rgmadvisors.com>
|
|
|
07a490 |
Bug-Reference-ID: <20110504152320.6E8F28130527@dev1.rgmadvisors.com>
|
|
|
07a490 |
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-05/msg00018.html
|
|
|
07a490 |
|
|
|
07a490 |
Bug-Description:
|
|
|
07a490 |
|
|
|
07a490 |
The regular expression matching operator did not correctly match
|
|
|
07a490 |
expressions with an embedded ^A.
|
|
|
07a490 |
|
|
|
07a490 |
Patch (apply with `patch -p0'):
|
|
|
07a490 |
|
|
|
07a490 |
*** ../bash-4.2-patched/pathexp.c 2010-08-13 23:21:57.000000000 -0400
|
|
|
07a490 |
--- pathexp.c 2011-05-05 16:40:58.000000000 -0400
|
|
|
07a490 |
***************
|
|
|
07a490 |
*** 197,201 ****
|
|
|
07a490 |
if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/')
|
|
|
07a490 |
continue;
|
|
|
07a490 |
! if ((qflags & QGLOB_REGEXP) && ere_char (pathname[i+1]) == 0)
|
|
|
07a490 |
continue;
|
|
|
07a490 |
temp[j++] = '\\';
|
|
|
07a490 |
--- 197,201 ----
|
|
|
07a490 |
if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/')
|
|
|
07a490 |
continue;
|
|
|
07a490 |
! if (pathname[i+1] != CTLESC && (qflags & QGLOB_REGEXP) && ere_char (pathname[i+1]) == 0)
|
|
|
07a490 |
continue;
|
|
|
07a490 |
temp[j++] = '\\';
|
|
|
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 13
|
|
|
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 14
|
|
|
07a490 |
|
|
|
07a490 |
#endif /* _PATCHLEVEL_H_ */
|