Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
If lchown() is not available, we only skip the call to chown() for a
[rsync/rsync.git]
/
rsync.c
diff --git
a/rsync.c
b/rsync.c
index
8ee09c7
..
f8206e5
100644
(file)
--- a/
rsync.c
+++ b/
rsync.c
@@
-161,7
+161,7
@@
int set_perms(char *fname,struct file_struct *file,STRUCT_STAT *st,
change_uid = am_root && preserve_uid && st->st_uid != file->uid;
change_gid = preserve_gid && file->gid != GID_NONE
&& st->st_gid != file->gid;
-#if !HAVE_LCHOWN
+#if !HAVE_LCHOWN
&& !CHOWN_MODIFIES_SYMLINK
if (S_ISLNK(st->st_mode))
;
else