summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-21 16:27:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-21 16:27:23 (GMT)
commit6859fb45c25a8eb401e7d0decab9b77b24014627 (patch)
treec5f321ba2fa57700c13974c7da95d97c66215fbd /unix/tclUnixFile.c
parent424ff3b68c8ecc22d0f8de08c13bbea69036e334 (diff)
parent5527cd9c6af02e9a7ccfcb8f56526e5a484dfbcd (diff)
downloadtcl-6859fb45c25a8eb401e7d0decab9b77b24014627.zip
tcl-6859fb45c25a8eb401e7d0decab9b77b24014627.tar.gz
tcl-6859fb45c25a8eb401e7d0decab9b77b24014627.tar.bz2
merge trunk.
rename TclInitStubs to Tcl_InitStubs, so tclStubLibCompat.c is no longer necessary
Diffstat (limited to 'unix/tclUnixFile.c')
-rw-r--r--unix/tclUnixFile.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c
index 38504d9..5bfe5d9 100644
--- a/unix/tclUnixFile.c
+++ b/unix/tclUnixFile.c
@@ -1181,9 +1181,10 @@ TclpUtime(
int
TclOSstat(
const char *name,
- Tcl_StatBuf *statBuf)
+ void *cygstat)
{
struct stat buf;
+ Tcl_StatBuf *statBuf = cygstat;
int result = stat(name, &buf);
statBuf->st_mode = buf.st_mode;
@@ -1203,9 +1204,10 @@ TclOSstat(
int
TclOSlstat(
const char *name,
- Tcl_StatBuf *statBuf)
+ void *cygstat)
{
struct stat buf;
+ Tcl_StatBuf *statBuf = cygstat;
int result = lstat(name, &buf);
statBuf->st_mode = buf.st_mode;