ntfsprogs: obsoleted
[openwrt/svn-archive/packages.git] / utils / bash / patches / 114-upstream-bash42-014.patch
1 BASH PATCH REPORT
2 =================
3
4 Bash-Release: 4.2
5 Patch-ID: bash42-014
6
7 Bug-Reported-by: Shawn Bohrer <sbohrer@rgmadvisors.com>
8 Bug-Reference-ID: <20110504152320.6E8F28130527@dev1.rgmadvisors.com>
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 --- a/pathexp.c
19 +++ b/pathexp.c
20 @@ -196,7 +196,7 @@ quote_string_for_globbing (pathname, qfl
21 {
22 if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/')
23 continue;
24 - if ((qflags & QGLOB_REGEXP) && ere_char (pathname[i+1]) == 0)
25 + if (pathname[i+1] != CTLESC && (qflags & QGLOB_REGEXP) && ere_char (pathname[i+1]) == 0)
26 continue;
27 temp[j++] = '\\';
28 i++;
29 --- a/patchlevel.h
30 +++ b/patchlevel.h
31 @@ -25,6 +25,6 @@
32 regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
33 looks for to find the patch level (for the sccs version string). */
34
35 -#define PATCHLEVEL 13
36 +#define PATCHLEVEL 14
37
38 #endif /* _PATCHLEVEL_H_ */