mattconnolly / ZipArchive

zip archive processing for Cocoa - iPhone and OS X

Home Page:http://code.google.com/p/ziparchive/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnzipOpenFile fails on empty zips

ericcj opened this issue · comments

if you CreateZipFile2 and then immediately CloseZipFile2 it correctly creates a file of 22 bytes, but then UnzipOpenFile on that returns false with errno ESRCH. i believe it should succeed and return you and empty array of entries.