summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authorhershey <hershey>1999-04-17 00:32:27 (GMT)
committerhershey <hershey>1999-04-17 00:32:27 (GMT)
commit099c93d0b49e614cfeffec26211d60d95235e2bf (patch)
treed397aeef664656316cd9691f280f0a3560670008 /generic/tclTest.c
parent7ef335cb1b504d531a013d66e510b8c2d48945cc (diff)
downloadtcl-099c93d0b49e614cfeffec26211d60d95235e2bf.zip
tcl-099c93d0b49e614cfeffec26211d60d95235e2bf.tar.gz
tcl-099c93d0b49e614cfeffec26211d60d95235e2bf.tar.bz2
changes make Tcl_Access and Tcl_Stat public.
also one minor fix in tests/all.tcl to fix bug 1770.
Diffstat (limited to 'generic/tclTest.c')
-rw-r--r--generic/tclTest.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 80b296a..ab6ac81 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclTest.c,v 1.10 1999/04/16 00:46:54 stanton Exp $
+ * RCS: @(#) $Id: tclTest.c,v 1.11 1999/04/17 00:32:31 hershey Exp $
*/
#define TCL_TEST
@@ -270,11 +270,11 @@ static int TestsetrecursionlimitCmd _ANSI_ARGS_((
static int TeststaticpkgCmd _ANSI_ARGS_((ClientData dummy,
Tcl_Interp *interp, int argc, char **argv));
static int TestStatProc1 _ANSI_ARGS_((CONST char *path,
- TclStat_ *buf));
+ struct stat *buf));
static int TestStatProc2 _ANSI_ARGS_((CONST char *path,
- TclStat_ *buf));
+ struct stat *buf));
static int TestStatProc3 _ANSI_ARGS_((CONST char *path,
- TclStat_ *buf));
+ struct stat *buf));
static int TeststatprocCmd _ANSI_ARGS_((ClientData dummy,
Tcl_Interp *interp, int argc, char **argv));
static int TesttranslatefilenameCmd _ANSI_ARGS_((ClientData dummy,
@@ -3962,7 +3962,7 @@ TeststatprocCmd (dummy, interp, argc, argv)
static int
TestStatProc1(path, buf)
CONST char *path;
- TclStat_ *buf;
+ struct stat *buf;
{
buf->st_size = 1234;
return ((strstr(path, "testStat1%.fil") == NULL) ? -1 : 0);
@@ -3972,7 +3972,7 @@ TestStatProc1(path, buf)
static int
TestStatProc2(path, buf)
CONST char *path;
- TclStat_ *buf;
+ struct stat *buf;
{
buf->st_size = 2345;
return ((strstr(path, "testStat2%.fil") == NULL) ? -1 : 0);
@@ -3982,7 +3982,7 @@ TestStatProc2(path, buf)
static int
TestStatProc3(path, buf)
CONST char *path;
- TclStat_ *buf;
+ struct stat *buf;
{
buf->st_size = 3456;
return ((strstr(path, "testStat3%.fil") == NULL) ? -1 : 0);