]> Dogcows Code - chaz/tar/commitdiff
Add a couple more test cases to catch bugs in glibc 2.1.95.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 20 Oct 2000 05:27:04 +0000 (05:27 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 20 Oct 2000 05:27:04 +0000 (05:27 +0000)
m4/fnmatch.m4

index 312990dc5afa7edcba405190df8186116cd938f9..99a605b6331004ee1145827c46422ac309bd4c5a 100644 (file)
@@ -10,6 +10,8 @@ AC_DEFUN(AC_FUNC_FNMATCH,
 [AC_TRY_RUN([#include <fnmatch.h>
 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,
This page took 0.02271 seconds and 4 git commands to generate.