summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tclTest.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index f2a357a..9acbc5e 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -327,13 +327,13 @@ static int TestsetplatformCmd _ANSI_ARGS_((ClientData dummy,
static int TeststaticpkgCmd _ANSI_ARGS_((ClientData dummy,
Tcl_Interp *interp, int argc, CONST char **argv));
static int PretendTclpStat _ANSI_ARGS_((CONST char *path,
- struct stat *buf));
+ Tcl_StatBuf *buf));
static int TestStatProc1 _ANSI_ARGS_((CONST char *path,
- struct stat *buf));
+ Tcl_StatBuf *buf));
static int TestStatProc2 _ANSI_ARGS_((CONST char *path,
- struct stat *buf));
+ Tcl_StatBuf *buf));
static int TestStatProc3 _ANSI_ARGS_((CONST char *path,
- struct stat *buf));
+ Tcl_StatBuf *buf));
static int TeststatprocCmd _ANSI_ARGS_((ClientData dummy,
Tcl_Interp *interp, int argc, CONST char **argv));
static int TesttranslatefilenameCmd _ANSI_ARGS_((ClientData dummy,
@@ -4699,7 +4699,7 @@ TeststatprocCmd (dummy, interp, argc, argv)
static int PretendTclpStat(path, buf)
CONST char *path;
- struct stat *buf;
+ Tcl_StatBuf *buf;
{
int ret;
Tcl_Obj *pathPtr = Tcl_NewStringObj(path, -1);
@@ -4793,9 +4793,9 @@ static int PretendTclpStat(path, buf)
static int
TestStatProc1(path, buf)
CONST char *path;
- struct stat *buf;
+ Tcl_StatBuf *buf;
{
- memset(buf, 0, sizeof(struct stat));
+ memset(buf, 0, sizeof(Tcl_StatBuf));
buf->st_size = 1234;
return ((strstr(path, "testStat1%.fil") == NULL) ? -1 : 0);
}
@@ -4804,9 +4804,9 @@ TestStatProc1(path, buf)
static int
TestStatProc2(path, buf)
CONST char *path;
- struct stat *buf;
+ Tcl_StatBuf *buf;
{
- memset(buf, 0, sizeof(struct stat));
+ memset(buf, 0, sizeof(Tcl_StatBuf));
buf->st_size = 2345;
return ((strstr(path, "testStat2%.fil") == NULL) ? -1 : 0);
}
@@ -4815,9 +4815,9 @@ TestStatProc2(path, buf)
static int
TestStatProc3(path, buf)
CONST char *path;
- struct stat *buf;
+ Tcl_StatBuf *buf;
{
- memset(buf, 0, sizeof(struct stat));
+ memset(buf, 0, sizeof(Tcl_StatBuf));
buf->st_size = 3456;
return ((strstr(path, "testStat3%.fil") == NULL) ? -1 : 0);
}