You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2010/03/12 16:25:27 UTC

[jira] Resolved: (COMPRESS-102) ZipArchiveOutputStream should write a signature for data descriptors

     [ https://issues.apache.org/jira/browse/COMPRESS-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig resolved COMPRESS-102.
-------------------------------------

       Resolution: Invalid
    Fix Version/s: 1.0

I misread the code, it already adds the signature.

> ZipArchiveOutputStream should write a signature for data descriptors
> --------------------------------------------------------------------
>
>                 Key: COMPRESS-102
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-102
>             Project: Commons Compress
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Stefan Bodewig
>            Priority: Minor
>             Fix For: 1.0
>
>
> from http://www.pkware.com/documents/casestudies/APPNOTE.TXT :
> {quote}
>       Although not originally assigned a signature, the value 
>       0x08074b50 has commonly been adopted as a signature value 
>       for the data descriptor record.  Implementers should be 
>       aware that ZIP files may be encountered with or without this 
>       signature marking data descriptors and should account for
>       either case when reading ZIP files to ensure compatibility.
>       When writing ZIP files, it is recommended to include the
>       signature value marking the data descriptor record.  When
>       the signature is used, the fields currently defined for
>       the data descriptor record will immediately follow the
>       signature.
> {quote}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.