Bash-4.2 patch 14

This commit is contained in:
Chet Ramey
2011-11-22 20:02:46 -05:00
parent a48a8ac352
commit 25db9a70d4
2 changed files with 2 additions and 2 deletions

View File

@@ -25,6 +25,6 @@
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
looks for to find the patch level (for the sccs version string). */ looks for to find the patch level (for the sccs version string). */
#define PATCHLEVEL 13 #define PATCHLEVEL 14
#endif /* _PATCHLEVEL_H_ */ #endif /* _PATCHLEVEL_H_ */

View File

@@ -196,7 +196,7 @@ quote_string_for_globbing (pathname, qflags)
{ {
if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/') if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/')
continue; 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; continue;
temp[j++] = '\\'; temp[j++] = '\\';
i++; i++;