[SCM] The rsync repository. - branch master updated
Rsync CVS commit messages
rsync-cvs at lists.samba.org
Sun Jun 22 10:14:29 MDT 2014
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 <wayned at 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.
More information about the rsync-cvs
mailing list