file timestamps not preserved

Nerijus Baliunas nerijus at users.sourceforge.net
Fri May 5 14:43:34 UTC 2017


On Wed, 19 Apr 2017 01:36:49 +0200 Andrey Gursky <andrey.gursky at e-mail.ua> wrote:

> I received the file and was able to reproduce the issue.

I applied both patches to 4.8.19:
[PATCH] Initialize struct stat st_[acm]tim.tv_nsec when present
[PATCH] Remove unused check in configure.ac

Ran autoconf. Just FYI, configure output before patches:
checking for uid_t in sys/types.h... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_rdev... yes
checking sys/param.h usability... yes

after the patches:
checking for uid_t in sys/types.h... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_mtim... yes
checking sys/param.h usability... yes

But still the files copied from cpio or tar.gz do not preserve timestamps.

Regards,
Nerijus



More information about the mc-devel mailing list