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:
4f1f94d
)
If a --delay-update can't use the partial-dir (e.g. if a server
author
Wayne Davison
<wayned@samba.org>
Fri, 11 Feb 2005 09:56:28 +0000
(09:56 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 11 Feb 2005 09:56:28 +0000
(09:56 +0000)
daemon excludes the dir or file), update the file without delay.
receiver.c
patch
|
blob
|
blame
|
history
diff --git
a/receiver.c
b/receiver.c
index
a9a9cd2
..
b674c14
100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-514,7
+514,7
@@
int recv_files(int f_in, struct file_list *flist, char *local_name,
exit_cleanup(RERR_FILEIO);
}
- if ((recv_ok &&
!delay_updates
) || inplace) {
+ if ((recv_ok &&
(!delay_updates || !partialptr)
) || inplace) {
finish_transfer(fname, fnametmp, file, recv_ok, 1);
if (partialptr != fname && fnamecmp == partialptr) {
do_unlink(partialptr);