Displaying 1 result from an estimated 1 matches for "xflg_def_include".
2005 Jan 31
1
[patch] add "--ignore" option
...return M_INCLUDE;
+ if (ent->match_flags & MATCHFLG_IGNORE)
+ return M_IGNORE;
+ return M_EXCLUDE;
}
}
- return 0;
+ return M_NOMATCH;
}
@@ -625,7 +632,7 @@
return NULL;
/* Figure out what kind of a filter rule "s" is pointing at. */
- if (!(xflags & (XFLG_DEF_INCLUDE | XFLG_DEF_EXCLUDE))) {
+ if (!(xflags & (XFLG_DEF_INCLUDE | XFLG_DEF_EXCLUDE |
XFLG_DEF_IGNORE))) {
char *mods = "";
switch (*s) {
case ':':
@@ -695,6 +702,8 @@
} else {
if (xflags & XFLG_DEF_INCLUDE)
mflags |= MATCHFLG_INCLUDE;
+ else if (xflags &...