From: Paul Eggert Date: Fri, 20 Oct 2000 05:27:04 +0000 (+0000) Subject: Add a couple more test cases to catch bugs in glibc 2.1.95. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=2473f7fad653d58c35b6ce0c2c31eb8ff149d47a;p=chaz%2Ftar Add a couple more test cases to catch bugs in glibc 2.1.95. --- diff --git a/m4/fnmatch.m4 b/m4/fnmatch.m4 index 312990d..99a605b 100644 --- a/m4/fnmatch.m4 +++ b/m4/fnmatch.m4 @@ -10,6 +10,8 @@ AC_DEFUN(AC_FUNC_FNMATCH, [AC_TRY_RUN([#include main() { exit (fnmatch ("a*", "abc", 0) != 0 + || 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); }], ac_cv_func_fnmatch_works=yes, ac_cv_func_fnmatch_works=no,