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
- 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) {
? 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) {