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:
dffba35
)
fixed a nasty bug in the handling of "local_name" when setting the
author
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 1999 10:56:18 +0000
(10:56 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 1999 10:56:18 +0000
(10:56 +0000)
permissions on directories after a transfer.
receiver.c
patch
|
blob
|
blame
|
history
diff --git
a/receiver.c
b/receiver.c
index
2b8869d
..
6361d21
100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-477,7
+477,7
@@
int recv_files(int f_in,struct file_list *flist,char *local_name,int f_gen)
for (i = 0; i < flist->count; i++) {
file = flist->files[i];
if (!file->basename || !S_ISDIR(file->mode)) continue;
- recv_generator(f_name(file),flist,i,-1);
+ recv_generator(
local_name?local_name:
f_name(file),flist,i,-1);
}
if (verbose > 2)