summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2011-06-18 13:42:30 -0700
committerWayne Davison <wayned@samba.org>2011-06-18 13:42:30 -0700
commita59a7b242393699fedeb4f66911e3fc9b4fadd73 (patch)
treee87e0559940020f9ceda9e563b94b9e59b866031 /syscall.c
parent5bfe00688206cde3cbc603e8d47b28788a19ca3a (diff)
downloadrsync-a59a7b242393699fedeb4f66911e3fc9b4fadd73.tar.gz
Fix reading side of fake-symlink bug 7109.
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syscall.c b/syscall.c
index eab25a55..c6c571a6 100644
--- a/syscall.c
+++ b/syscall.c
@@ -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. */