From: Wayne Davison Date: Wed, 22 Sep 2004 04:11:15 +0000 (+0000) Subject: In get_exclude_tok(), if XFLG_DIRECTORY was passed in the xflags, X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/9a5e37fca877b019ba595aa2e12e6a9332806255 In get_exclude_tok(), if XFLG_DIRECTORY was passed in the xflags, set MATCHFLG_DIRECTORY in the mflags we return. --- diff --git a/exclude.c b/exclude.c index a9dee7bd..3b05d888 100644 --- a/exclude.c +++ b/exclude.c @@ -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;