[delphizip] Changing zip comment doesn't update file timestamp

  • From: Patrick Kolla <patrick.kolla@xxxxxxxxxxxxxxxxxxxx>
  • To: delphizip@xxxxxxxxxxxxx
  • Date: Wed, 22 Oct 2008 15:01:21 +0200

A small bug report from me:
Situation:
When I update some zip files, I use the CRC to check whether a file
inside has been changed. If so, I put the new version into the archive.
At the end, I update the zip comment to reflect the "last updated"
timestamp.

Experienced:
Updating the zip comment changes the file contents. I then upload
changed files comparing the filedate and filesize. Since the timestamp
hasnt been changed, those zip files do not get uploaded. But at the same
time, an updated MD5, which /is/ different now, gets uploaded for
verification purposes, meaning downloads will fail.

Expected:
Changing the zip file comment means a change of the file contents and
thus should update the file date.

(yes, I know I should probably use more than just the file age to
compare what to upload, but nevertheless I think the not-updated file
timestamp is a bug ;) )


-----------
To unsubscribe from this list, send an empty e-mail 
message to:
  delphizip-request@xxxxxxxxxxxxx 
and put the word unsubscribe in the subject.

Other related posts: