libc-testsuite - correctness and quality tests for libc implementations

correctness and quality tests for libc implementations
summary refs log tree commit diff
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
Diffstat
-rw-r--r--fnmatch.c 2
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 },
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月02日 04:47:16 +0000

AltStyle によって変換されたページ (->オリジナル) /