diff options
author | suresh <suresh@noemail.net> | 1998-05-28 16:44:26 (GMT) |
---|---|---|
committer | suresh <suresh@noemail.net> | 1998-05-28 16:44:26 (GMT) |
commit | 0805372f16f35e977ec015d509dfeea979fa23f4 (patch) | |
tree | 1d94cdcb9994a5c9669aecfa6e0a0cc1e78e9f1e /win | |
parent | 6fb46f07bca1a074c66c6b370c313113d5adb09f (diff) | |
download | tcl-0805372f16f35e977ec015d509dfeea979fa23f4.zip tcl-0805372f16f35e977ec015d509dfeea979fa23f4.tar.gz tcl-0805372f16f35e977ec015d509dfeea979fa23f4.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(..)'.
FossilOrigin-Name: 1f1887431a4b2e6b6e707821f9348d71afae9b4d
Diffstat (limited to 'win')
-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) |