summaryrefslogtreecommitdiff
path: root/rsync.h
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.h
parent14ebc5b618ec6d4668e120acc7a75ae8efd677e7 (diff)
downloadrsync-743348e848915aa1217d970bd5673364345174e0.tar.gz
rsync-743348e848915aa1217d970bd5673364345174e0.tar.bz2
rsync-743348e848915aa1217d970bd5673364345174e0.zip
Fix issues with unchanged_attrs() for symlinks.
Diffstat (limited to 'rsync.h')
-rw-r--r--rsync.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/rsync.h b/rsync.h
index 3404da78..1b73031b 100644
--- a/rsync.h
+++ b/rsync.h
@@ -370,6 +370,14 @@ enum delret {
#define CAN_SET_SYMLINK_TIMES 1
#endif
+#if defined HAVE_LCHOWN || defined CHOWN_MODIFIES_SYMLINK
+#define CAN_CHOWN_SYMLINK 1
+#endif
+
+#if defined HAVE_LCHMOD || defined HAVE_SETATTRLIST
+#define CAN_CHMOD_SYMLINK 1
+#endif
+
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif