zlib icon indicating copy to clipboard operation
zlib copied to clipboard

Minizip Version mismatch in Zlib 1.2.12

Open rupalimittal opened this issue 3 years ago • 2 comments

Hello Team Please help me with below question:

  1. why minizip related files are not updated to 1.2.12 version inside the contrib subfolder. For instance , i can see that miniunz.c is having "Version 1.2.0, September 16th, 2017 " as well available but in zlib 1.2.12 ,it is kept as "Version 1.1, February 14h, 2010"(You can find this in miniunz.c file in topmost comment) Is it just the comment and we can ignore the version mentioned in the comment ?

rupalimittal avatar Apr 12 '22 12:04 rupalimittal

@rupalimittal: Because there is a fork, a lot of people were lost, now called minizip-ng:

  • https://github.com/zlib-ng/minizip-ng

Original from @gvollant into zlib: https://github.com/madler/zlib/search?q=February+14h I think it is the moment to update this date!

Neustradamus avatar Jul 31 '22 17:07 Neustradamus

AFAIK minizip has its own version number and it is not related to zlib version.

nmoinvaz avatar Jul 31 '22 23:07 nmoinvaz

What about this one: https://chromium.googlesource.com/external/github.com/nmoinvaz/minizip/+/refs/heads/1.2/README.md

Unzipping from memory is useful.

EDIT: I'll try just using ioapi_mem.c and .h from here: https://github.com/dexman/Minizip/blob/master/Vendor/Minizip/ioapi_mem.h

EDIT2: I used ioapi_mem.h and ioapi_mem.c and it worked.

uis246 avatar Sep 20 '22 20:09 uis246

Yes, minizip has its own version number.

madler avatar Oct 06 '22 01:10 madler