From 55c64bc81266cee74a677007552b6eeb7a27c657 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 4 Dec 2004 23:00:49 +0000 Subject: [PATCH] - Implement conversion of the manual, and some minor tweaks 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/findlib/find.c b/bacula/src/findlib/find.c index 4beaad3b90..2a1d7029a5 100644 --- a/bacula/src/findlib/find.c +++ b/bacula/src/findlib/find.c @@ -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; jname_list.size(); j++) { if (fnmatch((char *)incexe->name_list.get(j), ff->fname, fnmode|ic) == 0) { -- 2.39.2