diff options
author | Wayne Davison <wayned@samba.org> | 2009-09-02 09:06:29 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2009-09-02 09:06:29 -0700 |
commit | 6e310d38fcdeacb8055bb7e83d4e64c37fd54a38 (patch) | |
tree | 4a6676f79d57605fd67701953950c059c3af985e /rsync.h | |
parent | 3b83a22057b71e7df2b960d3997fb4474910f30e (diff) | |
download | rsync-6e310d38fcdeacb8055bb7e83d4e64c37fd54a38.tar.gz rsync-6e310d38fcdeacb8055bb7e83d4e64c37fd54a38.tar.bz2 rsync-6e310d38fcdeacb8055bb7e83d4e64c37fd54a38.zip |
Have --fake-super turn a symlink into a file when
NO_SYMLINK_XATTRS is defined.
Diffstat (limited to 'rsync.h')
-rw-r--r-- | rsync.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -981,6 +981,9 @@ extern int errno; #ifdef HAVE_READLINK #define SUPPORT_LINKS 1 +#ifndef NO_SYMLINK_XATTRS +#define do_readlink(path, buf, bufsiz) readlink(path, buf, bufsiz) +#endif #endif #ifdef HAVE_LINK #define SUPPORT_HARD_LINKS 1 |