From a6f11d40927e062799d4992af753c0642835eaaf Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 24 Oct 2000 06:18:37 +0000 Subject: [PATCH] (AC_FUNC_MATCH): Detect d*/*1 vs d/s/1 bug. --- m4/fnmatch.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/m4/fnmatch.m4 b/m4/fnmatch.m4 index 8f01c74..29a082f 100644 --- a/m4/fnmatch.m4 +++ b/m4/fnmatch.m4 @@ -11,6 +11,7 @@ AC_DEFUN(AC_FUNC_FNMATCH, [AC_TRY_RUN([#include main() { exit (fnmatch ("a*", "abc", 0) != 0 + || fnmatch("d*/*1", "d/s/1", FNM_FILE_NAME) != FNM_NOMATCH || fnmatch("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR) != 0 || fnmatch("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR) != 0 || fnmatch("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR) != 0); -- 2.45.2