summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-04-28 02:32:13 -0400
committerRich Felker <dalias@aerifal.cx>2012-04-28 02:32:13 -0400
commit5c3f746723830a15971577031086c3a0c801b44c (patch)
treebeb570126e05c7f28acb100c114e042dccbf4cbe
parent6cbbd147434b343705dedffc201fe3667f3004f1 (diff)
downloadlibc-testsuite-5c3f746723830a15971577031086c3a0c801b44c.tar.gz
update fnmatch tests to POSIX 2008 fixes to fnmatch spec
-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 },