[ 
https://issues.apache.org/jira/browse/COMPRESS-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072825#comment-16072825
 ] 

Simon Spero commented on COMPRESS-210:
--------------------------------------

zip extended timestamps are made signed! Doh!

> handle zip extra field 0x5455 - Extended Timestamp
> --------------------------------------------------
>
>                 Key: COMPRESS-210
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-210
>             Project: Commons Compress
>          Issue Type: Improvement
>          Components: Archivers
>            Reporter: Julius Davies
>            Assignee: Julius Davies
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: COMPRESS-210.patch
>
>
> From Info Zip's "zip-3.0" source archive (proginfo/extrafld.txt):
>          -Extended Timestamp Extra Field:
>           ==============================
>           The following is the layout of the extended-timestamp extra block.
>           (Last Revision 19970118)
> {noformat}
>           Local-header version:
>           Value         Size        Description
>           -----         ----        -----------
>   (time)  0x5455        Short       tag for this extra block type ("UT")
>           TSize         Short       total data size for this block
>           Flags         Byte        info bits
>           (ModTime)     Long        time of last modification (UTC/GMT)
>           (AcTime)      Long        time of last access (UTC/GMT)
>           (CrTime)      Long        time of original creation (UTC/GMT)
>           Central-header version:
>           Value         Size        Description
>           -----         ----        -----------
>   (time)  0x5455        Short       tag for this extra block type ("UT")
>           TSize         Short       total data size for this block
>           Flags         Byte        info bits (refers to local header!)
>           (ModTime)     Long        time of last modification (UTC/GMT)
> {noformat}
>           The central-header extra field contains the modification time only,
>           or no timestamp at all.  TSize is used to flag its presence or
>           absence.  But note:



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to