summaryrefslogtreecommitdiff
path: root/fnmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'fnmatch.c')
-rw-r--r--fnmatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnmatch.c b/fnmatch.c
index 0ab8ffb..342b9ee 100644
--- a/fnmatch.c
+++ b/fnmatch.c
@@ -91,7 +91,7 @@ struct {
{ "\\*/b", "*/b", 0, 0 },
{ "\\?/b", "a/b", 0, FNM_NOMATCH },
{ "\\?/b", "?/b", 0, 0 },
- { "[/b", "[/b", 0, -FNM_NOMATCH },
+ { "[/b", "[/b", 0, 0 },
{ "\\[/b", "[/b", 0, 0 },
{ "??""/b", "aa/b", 0, 0 },
{ "???b", "aa/b", 0, 0 },