X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fregex%2Ffnmatch.c;h=c59c4b23543b8efd3f062e4bae195e88eb17933d;hb=80371a77c4d6978e786ab2322161c4f8e299e891;hp=7994b78380e5fc930e5d50d34579a977b039769d;hpb=9d3ffa45089292491306c31e64757e44f90fc8f8;p=libc-test diff --git a/src/regex/fnmatch.c b/src/regex/fnmatch.c index 7994b78..c59c4b2 100644 --- a/src/regex/fnmatch.c +++ b/src/regex/fnmatch.c @@ -85,7 +85,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 },