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 /flist.c | |
parent | 3b83a22057b71e7df2b960d3997fb4474910f30e (diff) | |
download | android_external_rsync-6e310d38fcdeacb8055bb7e83d4e64c37fd54a38.tar.gz android_external_rsync-6e310d38fcdeacb8055bb7e83d4e64c37fd54a38.tar.bz2 android_external_rsync-6e310d38fcdeacb8055bb7e83d4e64c37fd54a38.zip |
Have --fake-super turn a symlink into a file when
NO_SYMLINK_XATTRS is defined.
Diffstat (limited to 'flist.c')
-rw-r--r-- | flist.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -196,7 +196,7 @@ static int readlink_stat(const char *path, STRUCT_STAT *stp, char *linkbuf) if (link_stat(path, stp, copy_dirlinks) < 0) return -1; if (S_ISLNK(stp->st_mode)) { - int llen = readlink(path, linkbuf, MAXPATHLEN - 1); + int llen = do_readlink(path, linkbuf, MAXPATHLEN - 1); if (llen < 0) return -1; linkbuf[llen] = '\0'; |