Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53b417e
)
Fixed the way get_rule_prefix() turns the MATCHFLG_WORD_SPLIT flag
author
Wayne Davison
<wayned@samba.org>
Fri, 4 Feb 2005 21:16:39 +0000
(21:16 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 4 Feb 2005 21:16:39 +0000
(21:16 +0000)
back into a modifier character.
exclude.c
patch
|
blob
|
blame
|
history
diff --git
a/exclude.c
b/exclude.c
index
9fdae3e
..
eb6c49f
100644
(file)
--- 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++ = '+';