summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2011-05-19 17:06:18 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2011-05-19 17:06:18 +0000
commitb01f3fdc9c9d6638e014ebaaa8af6d3c5f4958b0 (patch)
tree03dd8a815983db1ecb88b90e18715aa30fa606b9 /strings
parenta9ca3a780d5f20d46039b04bbd3012cc1a8a76dd (diff)
downloadapr-b01f3fdc9c9d6638e014ebaaa8af6d3c5f4958b0.tar.gz
Fix t ~= [/-/t] mismatch, observed by jorton.
Backports: r1124997 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1124998 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'strings')
-rw-r--r--strings/apr_fnmatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/apr_fnmatch.c b/strings/apr_fnmatch.c
index b6741ef4e..c1c0e4af5 100644
--- a/strings/apr_fnmatch.c
+++ b/strings/apr_fnmatch.c
@@ -129,7 +129,7 @@ leadingclosebrace:
* or ranges containing a slash in FNM_PATHNAME mode pattern
* fall out to to the rewind and test '[' literal code path
*/
- if (!**pattern || (slash && (**pattern == '\\')))
+ if (!**pattern || (slash && (**pattern == '/')))
break;
/* XXX: handle locale/MBCS comparison, advance by MBCS char width */