zlib-ng / minizip-ng

Fork of the popular zip manipulation library found in the zlib distribution.
Other
1.25k stars 434 forks source link

Compatibility issue with zipOpenNewFileInZip64 #787

Closed cameronwhite closed 5 months ago

cameronwhite commented 5 months ago

Related to #400, it seems that the signature of zipOpenNewFileInZip_64() is incorrect and should have been zipOpenNewFileInZip64() (without the underscore). I ran into this after investigating some compilation issues reported by a user on Fedora with minizip-ng (https://github.com/powertab/powertabeditor/issues/478)

For reference in the original minizip: https://github.com/madler/zlib/blob/develop/contrib/minizip/zip.h#L163 vs https://github.com/zlib-ng/minizip-ng/blob/develop/mz_compat.h#L177

nmoinvaz commented 5 months ago

I have added a shim for it. Thanks for reporting.