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 open modes on mz_zip_open work a bit differently. READ is for reading an existing zip, so it will try to read from the memory stream a zip file. WRITE would do zip creation to memory stream.
Thanks for the reply.
The test stream is created (as new) for writing. So trying to read from it doesn't make much sense. Actually the test fails there in my build.
Activity
nmoinvaz commentedon Sep 9, 2019
The open modes on
mz_zip_openwork a bit differently. READ is for reading an existing zip, so it will try to read from the memory stream a zip file. WRITE would do zip creation to memory stream.Anton-V-K commentedon Sep 9, 2019
Thanks for the reply.
The test stream is created (as new) for writing. So trying to read from it doesn't make much sense. Actually the test fails there in my build.
Fixed wrong open mode used in test_stream_mem(). #417
nmoinvaz commentedon Sep 14, 2019
I have updated the test. Thanks for reporting.