On Wed, 2 Nov 2016, Bergen A van wrote:

> Package: zip
> Version: 3.0-8
> Severity: normal
> File: /usr/bin/zip
> 
> Dear Maintainer,
> 
> BUG: Zip (or unzip) does not ALWAYS preserve the file time stamp
> correctly as shown in example 1 and 2.

This is a limitation of the zip archive format itself.

Because the old MS-DOS filesystem had a resolution of 2 seconds.
the designers of the zip format decided that 5 bits were enough
to store the seconds in a timestamp.

So the stored value (a number between 0 and 31) is multiplied
by two to get the actual number of seconds in the timestamp,
and as a result all timestamps have an even number of seconds.

May I close this bug?

Reply via email to