Matt McCutchen's Web Site
/
rsync
/
rsync-patches.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The patches for 3.0.3pre2.
[rsync/rsync-patches.git]
/
fsync.diff
diff --git
a/fsync.diff
b/fsync.diff
index
e0cdbbf
..
7ac11f5
100644
(file)
--- a/
fsync.diff
+++ b/
fsync.diff
@@
-90,7
+90,7
@@
diff --git a/util.c b/util.c
extern int modify_window;
extern int relative_paths;
extern int human_readable;
extern int modify_window;
extern int relative_paths;
extern int human_readable;
-@@ -3
15,6 +316
,13 @@ int copy_file(const char *source, const char *dest, int ofd,
+@@ -3
34,6 +335
,13 @@ int copy_file(const char *source, const char *dest, int ofd,
full_fname(source));
}
full_fname(source));
}
@@
-102,5
+102,5
@@
diff --git a/util.c b/util.c
+ }
+
if (close(ofd) < 0) {
+ }
+
if (close(ofd) < 0) {
+ int save_errno = errno;
rsyserr(FERROR_XFER, errno, "close failed on %s",
rsyserr(FERROR_XFER, errno, "close failed on %s",
- full_fname(dest));