diff options
author | suresh <suresh> | 1998-05-28 16:44:26 (GMT) |
---|---|---|
committer | suresh <suresh> | 1998-05-28 16:44:26 (GMT) |
commit | e57eeca0a36b6a0e2d707791bfc0a1953b98a1fb (patch) | |
tree | 1d94cdcb9994a5c9669aecfa6e0a0cc1e78e9f1e /win/tclWinPort.h | |
parent | 880fea0671680fcbf80693e02548fda4bc69686f (diff) | |
download | tcl-e57eeca0a36b6a0e2d707791bfc0a1953b98a1fb.zip tcl-e57eeca0a36b6a0e2d707791bfc0a1953b98a1fb.tar.gz tcl-e57eeca0a36b6a0e2d707791bfc0a1953b98a1fb.tar.bz2 |
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(..)'.
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r-- | win/tclWinPort.h | 8 |
1 files 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) |