Re: gunzip changes lastmod time?

2007-04-20 Thread Frank Bax

At 02:09 PM 4/19/07, Charles Longeau wrote:


2007/4/19, Frank Bax [EMAIL PROTECTED]:

 On an older box still running 3.5; gunzip/gzip does not change lastmod
 time; but on 4.0 [release] gunzip changes the lastmod time.  What's the
 reason for this change?


This was a bug and it has been fixed. For more info, please see :
http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=5417



Wow; I missed my big chance.  I actually spotted the problem in January, 
but thought I must have missed something.  My first assumption is always 
that any problem I see must have been by some else first; or I'm doing 
something wrong.




gunzip changes lastmod time?

2007-04-19 Thread Frank Bax
On an older box still running 3.5; gunzip/gzip does not change lastmod 
time; but on 4.0 [release] gunzip changes the lastmod time.  What's the 
reason for this change?


$ dmesg  dmesg.txt
$ touch -t 20070101 dmesg.txt
$ ls -l dmesg.txt
-rw-r--r--  1 fbax  fbax  3797 Jan  1 00:00 dmesg.txt
$ gzip dmesg.txt
$ ls -l dmesg.txt.gz
-rw-r--r--  1 fbax  fbax  1829 Jan  1 00:00 dmesg.txt.gz
$ gunzip dmesg.txt.gz
$ ls -l dmesg.txt
-rw-r--r--  1 fbax  fbax  3797 Apr 19 13:15 dmesg.txt



Re: gunzip changes lastmod time?

2007-04-19 Thread Charles Longeau
Hello,

2007/4/19, Frank Bax [EMAIL PROTECTED]:

 On an older box still running 3.5; gunzip/gzip does not change lastmod
 time; but on 4.0 [release] gunzip changes the lastmod time.  What's the
 reason for this change?


This was a bug and it has been fixed. For more info, please see :
http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=5417

Best regards,

Charles Longeau