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
John E. Malmberg convinced me to standardize on #ifs for defined
[rsync/rsync.git]
/
receiver.c
diff --git
a/receiver.c
b/receiver.c
index
b674c14
..
2f4bc7a
100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-228,7
+228,7
@@
static int receive_data(int f_in, char *fname_r, int fd_r, OFF_T size_r,
if (flush_write_file(fd) < 0)
goto report_write_error;
-#if HAVE_FTRUNCATE
+#if
def
HAVE_FTRUNCATE
if (inplace && fd != -1)
ftruncate(fd, offset);
#endif