On Mon, 25 Feb 2002, Jeffrey Jensen <[EMAIL PROTECTED]> wrote:

> After unzipping/unjarring a file, the time stamp on the resulting
> file is nearly the same as the original file, but not quite.  As
> viewed through the OS, the time stamp appears the same.  However, it
> appears the zip technology rounds/truncates the value(?).

Zip stores date and time "in standard MS-DOS format" according to
<ftp://ftp.uu.net/pub/archiving/zip/doc/appnote-981119-iz.zip>.

Reading InfoZip's code, in particular fileio.c, reveals that "standard
MS-DOS format" will store times only with an accuracy of two seconds,
this is where the truncation happens.

> I could submit a brief note added to the appropriate Ant task docs
> as to this behavior.

Please do, thanks

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to