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
Applying my updated version of Craig Barratt's buffered I/O patch.
[rsync/rsync.git]
/
receiver.c
diff --git
a/receiver.c
b/receiver.c
index
699ed0e
..
ed7bcc5
100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-303,6
+303,8
@@
static int receive_data(int f_in,struct map_struct *mapbuf,int fd,char *fname,
offset += len;
}
+ flush_write_file(fd);
+
if (do_progress)
end_progress(total_size);