commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julius Davies (JIRA)" <>
Subject [jira] [Commented] (COMPRESS-211) handle zip extra field 0x7875 - Info Zip New Unix Extra Field
Date Fri, 04 Jan 2013 22:36:12 GMT


Julius Davies commented on COMPRESS-211:

Thanks!   I'm reworking the patch based on your feedback, in particular:

- Fields will be private (that was an oversight, oops!)

- Returning long instead of BigInteger is on purpose to keep the API easier for users, since
that way I can keep the users from needing to mess around with the signed-vs-unsigned ugliness.
 I'm also assuming that UID/GID greater than 32bits (let alone 63bits!) does not exist on
any unix machines at this time.

- Switching to JUnit4.

- Thanks for BigInteger.valueOf()!   I will switch to that!  (Had no idea it existed)

> handle zip extra field 0x7875 - Info Zip New Unix Extra Field
> -------------------------------------------------------------
>                 Key: COMPRESS-211
>                 URL:
>             Project: Commons Compress
>          Issue Type: Improvement
>          Components: Archivers
>            Reporter: Julius Davies
>            Assignee: Julius Davies
>            Priority: Minor
>         Attachments: compress-211.patch
> From Info Zip (zip-3.0)'s source archive (proginfo/extrafld.txt):
> {code}
>          -Info-ZIP New Unix Extra Field:
>           ====================================
>           Currently stores Unix UIDs/GIDs up to 32 bits.
>           (Last Revision 20080509)
>           Value         Size        Description
>           -----         ----        -----------
>   (UnixN) 0x7875        Short       tag for this extra block type ("ux")
>           TSize         Short       total data size for this block
>           Version       1 byte      version of this extra field, currently 1
>           UIDSize       1 byte      Size of UID field
>           UID           Variable    UID for this entry
>           GIDSize       1 byte      Size of GID field
>           GID           Variable    GID for this entry
> {code}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message