peternguyen93 / miniz

Automatically exported from code.google.com/p/miniz
0 stars 0 forks source link

Wrong number of files returned for more that 65535 entries #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a zip file with more than 65535 entries
2. Use the mz_zip_reader_get_num_files function to read it and you'll see it 
returns 65535 entries, instead of the correct value.

What version of the product are you using? On what operating system?
trunk

Original issue reported on code.google.com by mingo...@gmail.com on 5 Jul 2014 at 12:10

GoogleCodeExporter commented 9 years ago
I need to be able to extract > 430k files. 
Tried 
https://github.com/ValveSoftware/vogl/blob/master/src/voglcore/vogl_miniz.cpp 
but it has lots of dependencies including pthreads; not present on windows and 
probably not used in miniz. 

Windows7 64 bit, Visual Studio Express 13
Trunk (10/13/13 v1.15 r4)

Thanks, Alex

Original comment by alexhend...@gmail.com on 8 Oct 2014 at 3:38