Doc:
authorMartin Pool <mbp@samba.org>
Mon, 18 Feb 2002 21:46:49 +0000 (21:46 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 18 Feb 2002 21:46:49 +0000 (21:46 +0000)
  #defiine lchown chown

could be bad on systems which have no lchown and where chown
follows symbollic links.  On such systems it might be better not to
try to chown symlinks at all.

rsync.h

diff --git a/rsync.h b/rsync.h
index fb7f333..2bfe250 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -461,6 +461,9 @@ extern int errno;
 #define SUPPORT_LINKS HAVE_READLINK
 #define SUPPORT_HARD_LINKS HAVE_LINK
 
+/* This could be bad on systems which have no lchown and where chown
+ * follows symbollic links.  On such systems it might be better not to
+ * try to chown symlinks at all. */
 #ifndef HAVE_LCHOWN
 #define lchown chown
 #endif