summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/lib/system.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-03-10 13:40:57 +0000
committerpeter <peter@FreeBSD.org>1998-03-10 13:40:57 +0000
commit0c111e2b51cac7eead56494b30c5977e4ec9a8ea (patch)
treef60b0014663435c30f2efea2b10ca4f8ecc0208c /contrib/cvs/lib/system.h
parentc3a8ee0e80a59793349940056dfd14746ebd4905 (diff)
downloadFreeBSD-src-0c111e2b51cac7eead56494b30c5977e4ec9a8ea.zip
FreeBSD-src-0c111e2b51cac7eead56494b30c5977e4ec9a8ea.tar.gz
Import cvs-1.9.26 onto vendor branch
Diffstat (limited to 'contrib/cvs/lib/system.h')
-rw-r--r--contrib/cvs/lib/system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/cvs/lib/system.h b/contrib/cvs/lib/system.h
index 7648b76..8beedf0 100644
--- a/contrib/cvs/lib/system.h
+++ b/contrib/cvs/lib/system.h
@@ -453,6 +453,13 @@ extern int errno;
#define CVS_STAT stat
#endif
+/* Open question: should CVS_STAT be lstat by default? We need
+ to use lstat in order to handle symbolic links correctly with
+ the PreservePermissions option. -twp */
+#ifndef CVS_LSTAT
+#define CVS_LSTAT lstat
+#endif
+
#ifndef CVS_UNLINK
#define CVS_UNLINK unlink
#endif
OpenPOWER on IntegriCloud