From e57eeca0a36b6a0e2d707791bfc0a1953b98a1fb Mon Sep 17 00:00:00 2001 From: suresh Date: Thu, 28 May 1998 16:44:26 +0000 Subject: Renamed 'TclWinStat(...)' to 'TclpStat(...)' & 'TclWinAccess(...)' to 'TclpAccess(...)'. Removed macro defines for 'stat' and 'access' because there are no longer any explicit calls to these function; only calls to 'TclStat' and 'TclAccess' which are implemented in '../generic/tclIOUtil.c'. Changed macro 'lstat' to simply call 'TclStat(...)' instead of 'stat(..)'. --- win/tclWinPort.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 99183cd..bd22180 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -368,13 +368,11 @@ EXTERN size_t TclStrftime _ANSI_ARGS_((char *s, size_t maxsize, * well or consistantly. */ -#define stat(path, buf) TclWinStat(path, buf) -#define lstat stat -#define access(path, mode) TclWinAccess(path, mode) +#define lstat TclStat -EXTERN int TclWinStat _ANSI_ARGS_((CONST char *path, +EXTERN int TclpStat _ANSI_ARGS_((CONST char *path, struct stat *buf)); -EXTERN int TclWinAccess _ANSI_ARGS_((CONST char *path, +EXTERN int TclpAccess _ANSI_ARGS_((CONST char *path, int mode)); #define TclpReleaseFile(file) ckfree((char *) file) -- cgit v0.12