Ticket #3575: preserve timestamps with nanosecond precisions during file copy
commit4c418047b2f3731809b4146c367b68ec030ba4f2
authorAndrey Gursky <andrey.gursky@e-mail.ua>
Sun, 6 Dec 2015 23:39:05 +0000 (7 00:39 +0100)
committerAndrew Borodin <aborodin@vmail.ru>
Sun, 25 Dec 2016 05:46:10 +0000 (25 08:46 +0300)
tree558af4cf24e232b9c6575da588f9374c6445f21b
parent9f47eecc913391fcb404fef8c307be662352cf54
Ticket #3575: preserve timestamps with nanosecond precisions during file copy

MC truncates timestamps during file copy and drops sub-second precision.

Make use of utimensat(), introduced in Linux kernel 2.6.22 (and since
2.6.26 compatible with POSIX-1.2008).

Signed-off-by: Andrey Gursky <andrey.gursky@e-mail.ua>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
configure.ac
lib/vfs/interface.c
lib/vfs/vfs.h
src/filemanager/file.c
src/vfs/fish/fish.c
src/vfs/local/local.c
src/vfs/sfs/sfs.c
src/vfs/sftpfs/vfs_class.c
src/vfs/smbfs/smbfs.c