Skip to content

Commit

Permalink
In get_exclude_tok(), if XFLG_DIRECTORY was passed in the xflags,
Browse files Browse the repository at this point in the history
set MATCHFLG_DIRECTORY in the mflags we return.
  • Loading branch information
Wayne Davison committed Sep 22, 2004
1 parent 3e976df commit 9a5e37f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exclude.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9a5e37f

Please sign in to comment.