Bug 2138 – Allow more than 65535 files in Zip archives

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2008-06-02T15:58:00Z
Last change time
2015-06-09T01:21:35Z
Keywords
pull
Assigned to
nobody
Creator
dsimcha

Comments

Comment #0 by dsimcha — 2008-06-02T15:58:16Z
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 by home — 2015-01-27T10:05:06Z
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 by github-bugzilla — 2015-01-27T18:46:50Z
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
Comment #3 by github-bugzilla — 2015-02-18T03:41:35Z