diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-07-05 12:12:13 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-07-05 12:12:13 (GMT) |
commit | 7e70c520097e7bd507cf88be353d4cd21d4ac0f3 (patch) | |
tree | 171a87e1227b4bd4cb8273784f97dc5eeb297684 /unix | |
parent | dc2e004dcb78418bd5b3e2389dc44d6efee0e4d9 (diff) | |
parent | 4d6c5fd3acdad15b867c6a66bc53ba9ecf46e7a4 (diff) | |
download | tcl-7e70c520097e7bd507cf88be353d4cd21d4ac0f3.zip tcl-7e70c520097e7bd507cf88be353d4cd21d4ac0f3.tar.gz tcl-7e70c520097e7bd507cf88be353d4cd21d4ac0f3.tar.bz2 |
Merge 8.7
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclUnixFCmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c index f36aecd..db49024 100644 --- a/unix/tclUnixFCmd.c +++ b/unix/tclUnixFCmd.c @@ -1313,8 +1313,8 @@ CopyFileAtts( } } - tval.actime = statBufPtr->st_atime; - tval.modtime = statBufPtr->st_mtime; + tval.actime = Tcl_GetAccessTimeFromStat(statBufPtr); + tval.modtime = Tcl_GetModificationTimeFromStat(statBufPtr); if (utime(dst, &tval)) { /* INTL: Native. */ return TCL_ERROR; |