]> git.sur5r.net Git - bacula/bacula/commitdiff
- Implement conversion of the manual, and some minor tweaks
authorKern Sibbald <kern@sibbald.com>
Sat, 4 Dec 2004 23:00:49 +0000 (23:00 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 4 Dec 2004 23:00:49 +0000 (23:00 +0000)
  to the script tags.
- Apply a patch supplied by Preben 'Peppe' Guldberg that implements
  ignore case in wild cards and regexes.
- Fix a truncated line in the above patch due to my cut and paste.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1743 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/findlib/find.c

index 4beaad3b9024b871765b433bdd250d06a18d2ee2..2a1d7029a582a9eb4a3831b942b8b18a5512921c 100644 (file)
@@ -212,7 +212,7 @@ static bool accept_file(FF_PKT *ff)
            }
         }
       }
-      ic = (incexe->current_opts != NULL && incexe->current_opts->flags & FO_IGNORE
+      ic = (incexe->current_opts != NULL && incexe->current_opts->flags & FO_IGNORECASE)
             ? FNM_CASEFOLD : 0;
       for (j=0; j<incexe->name_list.size(); j++) {
         if (fnmatch((char *)incexe->name_list.get(j), ff->fname, fnmode|ic) == 0) {