D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2138 - Allow more than 65535 files in Zip archives
Summary: Allow more than 65535 files in Zip archives
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86 Windows
: P3 enhancement
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2008-06-02 15:58 UTC by David Simcha
Modified: 2015-06-09 01:21 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description David Simcha 2008-06-02 15:58:16 UTC
It has come to my attention that std.zip can only read Zip files with <= 65535 files.  I understand that this is an inherent limitation of older versions of the Zip file format.  

This is becoming a significant limitation for me, as I am trying to do a cluster computing project with a very large data set composed of 10s of thousands of very small files that would bog down the file system if used in unzipped form.
Comment 1 FG 2015-01-27 10:05:06 UTC
https://github.com/D-Programming-Language/phobos/pull/2914
This solves the issue with limited number of items allowed in older zip archives, but for files over 4 GB, encryption, or preserving file attributes (especially when moving files between platforms) something other than std.zip would have to be used.
Comment 2 github-bugzilla 2015-01-27 18:46:50 UTC
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/8cc228c4e97b5bc2be2e6ed338faf5bcaed6336b
Fix Issue 2138 - Allow more than 65535 files in Zip archives

Fixed by adding support for reading and writing Zip64 archives

https://github.com/D-Programming-Language/phobos/commit/ad5ae8767fbe54f9e0b15aa12d64e81daeaf43db
Merge pull request #2914 from fgda/issue_2138

Fix Issue 2138 - Allow more than 65535 files in Zip archives