Skip to content

unzOpenCurrentFile3() always returns zero for method and level #289

@vszakats

Description

@vszakats

Noticed this little difference between minizip's compatibility interface and the original minizip API:

In unzOpenCurrentFile3() the returned method and level values are always zeroes. For method this is just an inconvenience (because it can be retrieved by unzGetCurrentFileInfo64()), but level is important because there is no other way to retrieve it from an existing .zip. The correct level is useful when re-creating an existing entry in raw mode, to make it as much identical to the original as possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilityBackwards compatibilityfixedIssue or bug has been fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions