]> Dogcows Code - chaz/tar/commitdiff
(AC_FUNC_MATCH): Detect d*/*1 vs d/s/1 bug.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)
m4/fnmatch.m4

index 8f01c742bf4e1dad6a9feaba3fb496c402cbdcf9..29a082ff4d46c275d9a729e4a6926c648b4566d2 100644 (file)
@@ -11,6 +11,7 @@ AC_DEFUN(AC_FUNC_FNMATCH,
 [AC_TRY_RUN([#include <fnmatch.h>
 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);
This page took 0.023655 seconds and 4 git commands to generate.