Re: file timestamps not preserved



On Tue, 18 Apr 2017 16:30:36 +0300 Nerijus Baliūnas wrote:

2017-04-18 16:09, Andrey Gursky rašė:
Hi Nerijus,

On Tue, 18 Apr 2017 15:33:50 +0300 Nerijus Baliunas wrote:

Hello,

mc 4.8.19 does not preserve timestamps of files, if they are copied from 
tar.gz, cpio
archives. But copying from zip is OK.

I've built now mc (git master) on Debian testing, entered a tar.gz
archive and copied a file on ext4 fs. The timestamp of the extracted
file was OK.

For me more info for reproducing would be needed.

It's latest Fedora package. It is pure mc-4.8.19.tar.xz with one minor patch:
-#define TMPDIR_DEFAULT "/tmp"
+#define TMPDIR_DEFAULT "/var/tmp"

Build flags are:
%configure \
         CFLAGS="%{optflags} -Wno-strict-aliasing" \
         --disable-rpath \
         --enable-aspell \
         --enable-charset \
         --enable-largefile \
         --enable-vfs-cpio \
         --enable-vfs-extfs \
         --enable-vfs-fish \
         --enable-vfs-ftp \
         --enable-vfs-sfs \
         --enable-vfs-sftp \
         --enable-vfs-smb \
         --enable-vfs-tar \
         --without-x \
         --with-gpm-mouse \
         --with-screen=ncurses \
         %{nil}

I've tested also cpio and for it I can confirm the issue.

Regards,
Andrey


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