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
added RSYNC_PROXY support from Stephen Rothwell. This allows access to
[rsync/rsync.git]
/
generator.c
diff --git
a/generator.c
b/generator.c
index
8b0eeab
..
d77e7b5
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-317,7
+317,8
@@
void recv_generator(char *fname,struct file_list *flist,int i,int f_out)
}
if (skip_file(fname, file, &st)) {
}
if (skip_file(fname, file, &st)) {
- set_perms(fname,file,&st,1);
+ if (fnamecmp == fname)
+ set_perms(fname,file,&st,1);
return;
}
return;
}