diff options
author | Wayne Davison <wayned@samba.org> | 2009-12-30 12:25:33 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2009-12-30 12:25:33 -0800 |
commit | 808b1d61c0085d4d8fba6a949da5bbd11480c59c (patch) | |
tree | d9c0c271c0c07733a94fff3cf650170ae9287075 /exclude.c | |
parent | 2f01fb11526f4a8fed3e5e6189706845c04136f3 (diff) | |
download | rsync-808b1d61c0085d4d8fba6a949da5bbd11480c59c.tar.gz |
Fixed the passing of a '/' modifier for an absolute-path filter rule.
Diffstat (limited to 'exclude.c')
-rw-r--r-- | exclude.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1121,6 +1121,8 @@ char *get_rule_prefix(int match_flags, const char *pat, int for_xfer, else legal_len = 0; + if (match_flags & MATCHFLG_ABS_PATH) + *op++ = '/'; if (match_flags & MATCHFLG_NEGATE) *op++ = '!'; if (match_flags & MATCHFLG_CVS_IGNORE) |