forked from rubyzip/rubyzip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only use the Zip64 CDIR end locator if needed.
Previously the central directory Zip64 data was written even if it wasn't strictly needed. The standard allows for entries to include Zip64 data (say, if they are streamed and their size is unknown when writing the file data) without needing any Zip64 data in the central directory. So now we only write central directory Zip64 data if there are over 65535 files or the file data is huge.
- Loading branch information
Showing
2 changed files
with
13 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters