The branch, master has been updated via 0466e46 Make sure the link() destination file doesn't exist. from aa4c6db Make sure cmp_time() doesn't mess up due to a time_t overflow. Fixes bug 10643.
;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 0466e46b9fc3d32f383dcddc534059bd7eec7395 Author: Wayne Davison <way...@samba.org> Date: Sun Jun 22 09:04:24 2014 -0700 Make sure the link() destination file doesn't exist. ----------------------------------------------------------------------- Summary of changes: configure.ac | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/configure.ac b/configure.ac index 588f551..1729be9 100644 --- a/configure.ac +++ b/configure.ac @@ -705,6 +705,7 @@ AC_CACHE_CHECK([whether link() can hard-link symlinks],rsync_cv_can_hardlink_sym main() { unlink(FILENAME); if (symlink("conftest.no-such", FILENAME) < 0) abort(); + unlink(FILENAME "2"); if (link(FILENAME, FILENAME "2") < 0) exit(1); exit(0); }], @@ -724,6 +725,7 @@ AC_CACHE_CHECK([whether link() can hard-link special files],rsync_cv_can_hardlin main() { unlink(FILENAME); if (mkfifo(FILENAME, 0777) < 0) abort(); + unlink(FILENAME "2"); if (link(FILENAME, FILENAME "2") < 0) exit(1); exit(0); }], -- The rsync repository. _______________________________________________ rsync-cvs mailing list rsync-cvs@lists.samba.org https://lists.samba.org/mailman/listinfo/rsync-cvs