Re: file timestamps not preserved



On Wed, 19 Apr 2017 01:36:49 +0200 Andrey Gursky <andrey gursky 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]