diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-19 18:28:03 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-19 18:28:03 (GMT) |
| commit | 014e7b19515a9c73794c5fc6d79fcea847fdb3e5 (patch) | |
| tree | c7c71e684b6fe6032420fb24b0df1bcc10fdae16 /unix/tclUnixFile.c | |
| parent | ad5f7e54641391f59816162a8a53b2375e7222a0 (diff) | |
| parent | 98a40cff2c3ad8c126a6eccea19a472ef52f6339 (diff) | |
| download | tcl-014e7b19515a9c73794c5fc6d79fcea847fdb3e5.zip tcl-014e7b19515a9c73794c5fc6d79fcea847fdb3e5.tar.gz tcl-014e7b19515a9c73794c5fc6d79fcea847fdb3e5.tar.bz2 | |
merge trunk
Diffstat (limited to 'unix/tclUnixFile.c')
| -rw-r--r-- | unix/tclUnixFile.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c index f1fedc3..5bfe5d9 100644 --- a/unix/tclUnixFile.c +++ b/unix/tclUnixFile.c @@ -10,7 +10,6 @@ * of this file, and for a DISCLAIMER OF ALL WARRANTIES. */ -#include <sys/stat.h> #include "tclInt.h" #include "tclFileSystem.h" @@ -1182,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; @@ -1204,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; |
