#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.
This commit is contained in:
Martin Pool committed 2002-02-18 21:46:49 +00:00
1 parent 34758d5c15
commit 1eca49c6ed
1 file changed
+3
+3
View File
@@ -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