diff options
-rw-r--r-- | rsync.h | 2 | ||||
-rw-r--r-- | syscall.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1044,7 +1044,7 @@ extern int errno; #ifdef HAVE_READLINK #define SUPPORT_LINKS 1 -#ifndef NO_SYMLINK_XATTRS +#if !defined NO_SYMLINK_XATTRS && !defined NO_SYMLINK_USER_XATTRS #define do_readlink(path, buf, bufsiz) readlink(path, buf, bufsiz) #endif #endif @@ -82,7 +82,7 @@ int do_symlink(const char *lnk, const char *fname) return symlink(lnk, fname); } -#ifdef NO_SYMLINK_XATTRS +#if defined NO_SYMLINK_XATTRS || defined NO_SYMLINK_USER_XATTRS ssize_t do_readlink(const char *path, char *buf, size_t bufsiz) { /* For --fake-super, we read the link from the file. */ |