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:
34ca58d
)
Make sure that any "dont compress" patterns that have wildcards in a
author
Wayne Davison
<wayned@samba.org>
Sat, 14 Jul 2007 19:36:52 +0000
(19:36 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 14 Jul 2007 19:36:52 +0000
(19:36 +0000)
suffix match stay in the wildcard-matching list.
token.c
patch
|
blob
|
blame
|
history
diff --git
a/token.c
b/token.c
index
81e2537
..
181e734
100644
(file)
--- a/
token.c
+++ b/
token.c
@@
-151,7
+151,7
@@
static void init_set_compression(void)
/* Move *.foo items into the stuffix tree. */
if (*start == '*' && start[1] == '.' && start[2]
- && !str
chr(start+2, '.'
)) {
+ && !str
pbrk(start+2, ".?*"
)) {
add_suffix(&suftree, start[2], start+3);
t = start;
}