-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow passing flags to zip_open via open #48
Comments
just adding that flag causes zip_open not to error, but it doesn't resolve the underlying issue. not sure how to fix. |
can't we always add this flag in the implementation? Why expose this silly non-sense to zip's users. |
that seems fine, but I can't get it to work even with that flag. the file will open, but I can't extract. I'll look into it more. |
http://home.chpc.utah.edu/~u6000771/gnomad.v3.genome.zip here is a test archive. |
https://github.com/nih-at/libzip/blob/178c445ef82beae9670ca68668865082eb0e1e91/lib/zip.h#L157 |
AFAICT, files larger than 4.2 GB are not actually supported because we need to pass:
ZIP_CM_DEFLATE64
to zip_open, but that's not possible viazip.open
I can open a PR changing:
to
here is the code I am using to check the problem. should fail for any file > 4.2GB.
The text was updated successfully, but these errors were encountered: