summaryrefslogtreecommitdiff
path: root/rsync.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2010-12-18 08:48:07 -0800
committerWayne Davison <wayned@samba.org>2010-12-18 08:48:07 -0800
commit743348e848915aa1217d970bd5673364345174e0 (patch)
tree8ef600fa4234c98033d7ca76f0fb87f488639894 /rsync.c
parent14ebc5b618ec6d4668e120acc7a75ae8efd677e7 (diff)
downloadrsync-743348e848915aa1217d970bd5673364345174e0.tar.gz
Fix issues with unchanged_attrs() for symlinks.
Diffstat (limited to 'rsync.c')
-rw-r--r--rsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsync.c b/rsync.c
index a0da86d3..17ce76a4 100644
--- a/rsync.c
+++ b/rsync.c
@@ -510,7 +510,7 @@ int set_file_attrs(const char *fname, struct file_struct *file, stat_x *sxp,
change_uid = am_root && uid_ndx && sxp->st.st_uid != (uid_t)F_OWNER(file);
change_gid = gid_ndx && !(file->flags & FLAG_SKIP_GROUP)
&& sxp->st.st_gid != (gid_t)F_GROUP(file);
-#if !defined HAVE_LCHOWN && !defined CHOWN_MODIFIES_SYMLINK
+#ifndef CAN_CHOWN_SYMLINK
if (S_ISLNK(sxp->st.st_mode)) {
;
} else