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
Use the new FNAMECMP_BASIS_DIR_HIGH to improve a compare-dest check.
[rsync/rsync.git]
/
syscall.c
diff --git
a/syscall.c
b/syscall.c
index
f34774c
..
f498547
100644
(file)
--- a/
syscall.c
+++ b/
syscall.c
@@
-72,6
+72,9
@@
int do_lchown(const char *path, uid_t owner, gid_t group)
{
if (dry_run) return 0;
RETURN_ERROR_IF_RO_OR_LO;
+#ifdef HAVE_LCHOWN
+#define lchown chown
+#endif
return lchown(path, owner, group);
}