diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-06-29 15:02:53 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-06-29 15:02:53 (GMT) |
commit | 0865a0b6b03cef7f1545ee66e5d53907f9538a4b (patch) | |
tree | 69a15f8f07b31493926fd04e3e20b31474453389 /unix/tclUnixChan.c | |
parent | 79260bd6950b610ebc53b4fb8ee8317ef0c6a2a1 (diff) | |
parent | f0048561b7c9f59ae0be8140bbbdc277ed1fb95e (diff) | |
download | tcl-0865a0b6b03cef7f1545ee66e5d53907f9538a4b.zip tcl-0865a0b6b03cef7f1545ee66e5d53907f9538a4b.tar.gz tcl-0865a0b6b03cef7f1545ee66e5d53907f9538a4b.tar.bz2 |
Merge 8.7. Fix fstat() call in tclUnixChan.c, in case Tcl_StatBuf == struct stat64.
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r-- | unix/tclUnixChan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c index f8b52a6..8743992 100644 --- a/unix/tclUnixChan.c +++ b/unix/tclUnixChan.c @@ -678,7 +678,7 @@ StatOpenFile( Tcl_Obj *dictObj; unsigned short mode; - if (fstat(fsPtr->fd, &statBuf) < 0) { + if (TclOSfstat(fsPtr->fd, &statBuf) < 0) { return NULL; } |