summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-05 12:11:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-05 12:11:00 (GMT)
commit4d6c5fd3acdad15b867c6a66bc53ba9ecf46e7a4 (patch)
treeda6dfcaa562cc579b656c739cd105e1f454ea353 /unix
parentcc1e30158793a4c08f066242a62aeba0a777c263 (diff)
parent9d0dfc6f26ad3d606489b792d1bdcf2eec5d662a (diff)
downloadtcl-4d6c5fd3acdad15b867c6a66bc53ba9ecf46e7a4.zip
tcl-4d6c5fd3acdad15b867c6a66bc53ba9ecf46e7a4.tar.gz
tcl-4d6c5fd3acdad15b867c6a66bc53ba9ecf46e7a4.tar.bz2
Merge 8.6
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixFCmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c
index 3e1a5c2..b214627 100644
--- a/unix/tclUnixFCmd.c
+++ b/unix/tclUnixFCmd.c
@@ -1315,8 +1315,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;