From 80371a77c4d6978e786ab2322161c4f8e299e891 Mon Sep 17 00:00:00 2001 From: nsz Date: Sun, 6 May 2012 19:11:28 +0200 Subject: [PATCH 1/1] fnmatch: fix "[/b" test --- src/math/lrint.c | 2 +- src/math/nextafter.c | 2 +- src/math/nextafterl.c | 2 +- src/regex/fnmatch.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 }, -- 2.20.1