From: Wayne Davison Date: Fri, 4 Feb 2005 21:16:39 +0000 (+0000) Subject: Fixed the way get_rule_prefix() turns the MATCHFLG_WORD_SPLIT flag X-Git-Tag: v2.6.4pre1~222 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d09e800a0e7028c35b811a73c388b65321150784;p=thirdparty%2Frsync.git Fixed the way get_rule_prefix() turns the MATCHFLG_WORD_SPLIT flag back into a modifier character. --- diff --git a/exclude.c b/exclude.c index 9fdae3e35..eb6c49f16 100644 --- a/exclude.c +++ b/exclude.c @@ -932,10 +932,10 @@ char *get_rule_prefix(int match_flags, const char *pat, int sending, if (match_flags & MATCHFLG_CVS_IGNORE) *op++ = 'C'; else { - if (match_flags & MATCHFLG_WORD_SPLIT) - *op++ = 's'; if (match_flags & MATCHFLG_NO_INHERIT) *op++ = 'n'; + if (match_flags & MATCHFLG_WORD_SPLIT) + *op++ = 'w'; if (match_flags & MATCHFLG_NO_PREFIXES) { if (match_flags & MATCHFLG_INCLUDE) *op++ = '+';