From 743348e848915aa1217d970bd5673364345174e0 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 18 Dec 2010 08:48:07 -0800 Subject: Fix issues with unchanged_attrs() for symlinks. --- rsync.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'rsync.h') 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 #endif -- cgit v1.2.3