bug-gzip
[Top][All Lists]
Advanced

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

gzip 1.3.12 does not preserve file modification times on Windows


From: Ryan Malayter
Subject: gzip 1.3.12 does not preserve file modification times on Windows
Date: Tue, 8 Sep 2009 16:42:30 -0500

It appears that neither the .gz archive file nor a decompression of that file 
preserves the file modification time on Windows (Vista Sp2)

See test below, note the original file modification time:

C:\temp>dir yslow1.htm
 Volume in drive C is OS
 Volume Serial Number is 0ECE-540D

 Directory of C:\temp

07/19/2009  12:22 PM           251,907 yslow1.htm
               1 File(s)        251,907 bytes
               0 Dir(s)  47,129,296,896 bytes free

C:\temp>gzip yslow1.htm

C:\temp>dir yslow1.htm.gz
 Volume in drive C is OS
 Volume Serial Number is 0ECE-540D

 Directory of C:\temp

09/08/2009  08:33 AM            17,680 yslow1.htm.gz
               1 File(s)         17,680 bytes
               0 Dir(s)  47,129,530,368 bytes free

C:\temp>gzip -d -N yslow1.htm.gz

C:\temp>dir yslow1.htm
 Volume in drive C is OS
 Volume Serial Number is 0ECE-540D

 Directory of C:\temp

09/08/2009  08:34 AM           251,907 yslow1.htm
               1 File(s)        251,907 bytes
               0 Dir(s)  47,129,296,896 bytes free

C:\temp>

-- 
Ryan Malayter
Senior Manager of Information Technology
BAI
115 S LaSalle St Ste 3300
Chicago IL  60603-3801
address@hidden
Direct:312-683-2347 | Fax:312-683-2314 

BAI is the financial services industry's partner for: Information. 
Intelligence. Innovation.  Learn more at www.BAI.org.

BAI is Bank Administration Institute and BAI Center. 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]