rtsys2020 / miniz

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

Windows "Extract All..." functionality doesn't like tiny files in zip files created by miniz #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a small file.  Files as large as 68 bytes failed for me.
2. Zip with example3 "example3 c test.txt test.zip"
3. Right click on file (in Windows) and click "Extract All..." 

What is the expected output? What do you see instead?
EXPECTED: File is extracted correctly
ACTUAL: Windows complains zipped folder is empty

What version of the product are you using? On what operating system?
Windows 7 SP1, miniz 1.1544 example3

Please provide any additional information below.
The file is extracted with 7zip just fine.  I know this is not "your" bug, so I 
don't expect anything to happen with it, but I thought I would let you know.  
7zip DOES generate a zip file that Windows likes, FWIW.  I am attaching the zip 
file that windows doesn't like.  If there are large enough files in the zip 
file so windows doesn't think it is empty, it extracts those, and gives a 
0x80004005 error when it finds the files that are too small.

Original issue reported on code.google.com by clpar...@gmail.com on 8 Jan 2014 at 5:07

Attachments: