Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't call copy_file() for a dry-run. (Thanks, Matt!)
[rsync/rsync.git]
/
token.c
diff --git
a/token.c
b/token.c
index
81e2537
..
171ab6d
100644
(file)
--- a/
token.c
+++ b/
token.c
@@
-20,6
+20,7
@@
*/
#include "rsync.h"
*/
#include "rsync.h"
+#include "ifuncs.h"
#include "zlib/zlib.h"
extern int do_compression;
#include "zlib/zlib.h"
extern int do_compression;
@@
-151,7
+152,7
@@
static void init_set_compression(void)
/* Move *.foo items into the stuffix tree. */
if (*start == '*' && start[1] == '.' && start[2]
/* 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;
}
add_suffix(&suftree, start[2], start+3);
t = start;
}