diff options
| author | dgp <dgp@users.sourceforge.net> | 2016-06-16 15:19:41 (GMT) |
|---|---|---|
| committer | dgp <dgp@users.sourceforge.net> | 2016-06-16 15:19:41 (GMT) |
| commit | dd519c7dac7bb193e0eccc06e9e33a378f7d37b6 (patch) | |
| tree | f824e5fe9e245730af806b3a5aabf69b2c8e1e08 /unix/tclUnixFile.c | |
| parent | f67a341fce27e0e6c8de7ec44c78e7ea0e16c3bd (diff) | |
| parent | 4d6aaa2e8b970c7babd8047939266ccc21084c7e (diff) | |
| download | tcl-dd519c7dac7bb193e0eccc06e9e33a378f7d37b6.zip tcl-dd519c7dac7bb193e0eccc06e9e33a378f7d37b6.tar.gz tcl-dd519c7dac7bb193e0eccc06e9e33a378f7d37b6.tar.bz2 | |
Merge up to a197e6853e. Still works. Next checkin restarts the segfaults.
Diffstat (limited to 'unix/tclUnixFile.c')
| -rw-r--r-- | unix/tclUnixFile.c | 6 |
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; |
