From: nsz Date: Sun, 6 May 2012 17:11:28 +0000 (+0200) Subject: fnmatch: fix "[/b" test X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;ds=sidebyside;h=80371a77c4d6978e786ab2322161c4f8e299e891;p=libc-test fnmatch: fix "[/b" test --- diff --git a/src/math/lrint.c b/src/math/lrint.c index a03c816..b7d14a7 100644 --- a/src/math/lrint.c +++ b/src/math/lrint.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include "fenvutil.h" #include "test.h" diff --git a/src/math/nextafter.c b/src/math/nextafter.c index 344cc54..78cb3d1 100644 --- a/src/math/nextafter.c +++ b/src/math/nextafter.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include "fenvutil.h" #include "test.h" diff --git a/src/math/nextafterl.c b/src/math/nextafterl.c index 9aa9421..d5eb6cf 100644 --- a/src/math/nextafterl.c +++ b/src/math/nextafterl.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include "fenvutil.h" #include "test.h" 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 },