GNU bug report logs - #29261
Save/restore dates does not work properly

Previous Next

Package: gzip;

Reported by: Antonio Sidinei Schug <antoniosidineischug <at> gmail.com>

Date: Sat, 11 Nov 2017 21:17:02 UTC

Severity: normal

Tags: moreinfo

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 29261 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Antonio Sidinei Schug <antoniosidineischug <at> gmail.com>,
 29261 <at> debbugs.gnu.org
Subject: Re: bug#29261: Save/restore dates does not work properly
Date: Sat, 11 Nov 2017 15:19:59 -0800
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




This bug report was last modified 2 years and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.