You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function unzGetCurrentFileZStreamPos64 - present in the original minizip - doesn't exist in minizip-ng, but is used out there in the wild, most notably by chromium and chromium derived projects.
I've tried to get Chromium to work with zlib-ng+minizip-ng instead of using its bundled copies of zlib+minizip and am almost there (it works in general, but crashes when installing extensions). I think I'm misunderstanding what unzGetCurrentFileZStreamPos64 is expected to do.
I'm not certain that is the same value. It may, be that we need to expose the mz_stream_tell(zip->stream) value. unzGetFilePos64 seems to only return the offset in the central directory, while unzGetCurrentFileZStreamPos64 seems to return the position in the entire zip file.
The function
unzGetCurrentFileZStreamPos64
- present in the original minizip - doesn't exist in minizip-ng, but is used out there in the wild, most notably by chromium and chromium derived projects.I've tried to get Chromium to work with zlib-ng+minizip-ng instead of using its bundled copies of zlib+minizip and am almost there (it works in general, but crashes when installing extensions). I think I'm misunderstanding what
unzGetCurrentFileZStreamPos64
is expected to do.https://github.com/OpenMandrivaAssociation/chromium/blob/master/chromium-105-minizip-ng.patch#L28-L31
My guess at what it should do is probably somewhat off (not a zlib/minizip expert...):
Would be nice to see
unzGetCurrentFileZStreamPos64
in minizip-ng (or alternatively, get a hint on how to port that one missing line correctly).The text was updated successfully, but these errors were encountered: