summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/lib/system.h
diff options
context:
space:
mode:
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