[packages] bash: import upstream 4.2 patch series
git-svn-id: svn://svn.openwrt.org/openwrt/packages@31746 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
38
utils/bash/patches/114-upstream-bash42-014.patch
Normal file
38
utils/bash/patches/114-upstream-bash42-014.patch
Normal file
@ -0,0 +1,38 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.2
|
||||
Patch-ID: bash42-014
|
||||
|
||||
Bug-Reported-by: Shawn Bohrer <sbohrer@rgmadvisors.com>
|
||||
Bug-Reference-ID: <20110504152320.6E8F28130527@dev1.rgmadvisors.com>
|
||||
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'):
|
||||
|
||||
--- a/pathexp.c
|
||||
+++ b/pathexp.c
|
||||
@@ -196,7 +196,7 @@ quote_string_for_globbing (pathname, qfl
|
||||
{
|
||||
if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/')
|
||||
continue;
|
||||
- if ((qflags & QGLOB_REGEXP) && ere_char (pathname[i+1]) == 0)
|
||||
+ if (pathname[i+1] != CTLESC && (qflags & QGLOB_REGEXP) && ere_char (pathname[i+1]) == 0)
|
||||
continue;
|
||||
temp[j++] = '\\';
|
||||
i++;
|
||||
--- a/patchlevel.h
|
||||
+++ b/patchlevel.h
|
||||
@@ -25,6 +25,6 @@
|
||||
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
-#define PATCHLEVEL 13
|
||||
+#define PATCHLEVEL 14
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
Reference in New Issue
Block a user