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 | 85545145a0037e04583982f27e58ce2137783f62 (patch) | |
tree | c7c71e684b6fe6032420fb24b0df1bcc10fdae16 /unix/tclUnixFile.c | |
parent | 729687600b66c16b05f8b800209bf0252c285bac (diff) | |
parent | 0218abe5f52843f501c1735ffeadef3d5e9d24bd (diff) | |
download | tcl-85545145a0037e04583982f27e58ce2137783f62.zip tcl-85545145a0037e04583982f27e58ce2137783f62.tar.gz tcl-85545145a0037e04583982f27e58ce2137783f62.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; |