Commit 9a5e37fc authored by Wayne Davison's avatar Wayne Davison

In get_exclude_tok(), if XFLG_DIRECTORY was passed in the xflags,

set MATCHFLG_DIRECTORY in the mflags we return.
parent 3e976df0
......@@ -261,6 +261,8 @@ static const char *get_exclude_tok(const char *p, unsigned int *len_ptr,
s += 2;
} else if (xflags & XFLG_DEF_INCLUDE)
mflags |= MATCHFLG_INCLUDE;
if (xflags & XFLG_DIRECTORY)
mflags |= MATCHFLG_DIRECTORY;
if (xflags & XFLG_WORD_SPLIT) {
const unsigned char *cp = s;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment