|
From: | Paul Eggert |
Subject: | bug#29261: Save/restore dates does not work properly |
Date: | Sat, 11 Nov 2017 15:19:59 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
Antonio Sidinei Schug wrote:
gzip version 1.3.12(Windows) and probaly others too, does not save / restore file timestamp correctly(Always set to current.
1.3.12 is dated 2007 and is pretty old. I'm afraid that we worry only about the latest version.
if I put copy_stat after file descriptor(ofd) is closed, and set it ofd = -1, then, they are all ok
That wouldn't work with the current version, where copy_stat needs ofd to do its thing. Can you reproduce the problem with the current version? See:
https://ftp.gnu.org/gnu/gzip/gzip-1.8.tar.gz
[Prev in Thread] | Current Thread | [Next in Thread] |