summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-06 13:41:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-06 13:41:23 (GMT)
commit292be1554df2e6a02eab708e38cbbd0ab5977466 (patch)
tree7a20dbd5e4014a5d022ed40337476dc657d45cdb /unix/tclUnixFile.c
parenta30135ba031c53d2726673256a21b95ddf1b3551 (diff)
parentc5e46efb954d7d3ec9a1594489918053bde2e758 (diff)
downloadtcl-292be1554df2e6a02eab708e38cbbd0ab5977466.zip
tcl-292be1554df2e6a02eab708e38cbbd0ab5977466.tar.gz
tcl-292be1554df2e6a02eab708e38cbbd0ab5977466.tar.bz2
merge novemnovem_remove_va
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;