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
Use "#if" (not "#ifdef") for configure-defined macros.
[rsync/rsync.git]
/
receiver.c
diff --git
a/receiver.c
b/receiver.c
index
3acb7bd
..
09df260
100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-223,7
+223,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 (flush_write_file(fd) < 0)
goto report_write_error;
-#if
def
HAVE_FTRUNCATE
+#if HAVE_FTRUNCATE
if (inplace && fd != -1)
ftruncate(fd, offset);
#endif
if (inplace && fd != -1)
ftruncate(fd, offset);
#endif