Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8fd416
)
Fix typo in handling of lchown when the host operating system does
author
Paul Green
<paulg@samba.org>
Tue, 18 Jan 2005 21:19:42 +0000
(21:19 +0000)
committer
Paul Green
<paulg@samba.org>
Tue, 18 Jan 2005 21:19:42 +0000
(21:19 +0000)
not implement it. It should get mapped to chown.
syscall.c
patch
|
blob
|
blame
|
history
diff --git
a/syscall.c
b/syscall.c
index
f498547
..
d093aae
100644
(file)
--- a/
syscall.c
+++ b/
syscall.c
@@
-72,7
+72,7
@@
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
+#if
n
def HAVE_LCHOWN
#define lchown chown
#endif
return lchown(path, owner, group);