From 0c111e2b51cac7eead56494b30c5977e4ec9a8ea Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 10 Mar 1998 13:40:57 +0000 Subject: Import cvs-1.9.26 onto vendor branch --- contrib/cvs/lib/system.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'contrib/cvs/lib/system.h') 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 -- cgit v1.1