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