std.zip size limit of 2 GB?

Stefan Koch uplink.coder at googlemail.com
Thu Feb 15 22:36:12 UTC 2018


On Thursday, 15 February 2018 at 11:56:04 UTC, Andre Pany wrote:
> Hi,
>
> I just noticed that std.zip will throw an exception if the 
> source files exceeds 2 GB.
> I am not sure whether this is a limitation of zip version 20 or 
> a bug. On wikipedia a
> size limit of 4 GB is mentioned. Should I open an issue?
>
> [...]

It was partially changed in this PR: 
https://github.com/dlang/phobos/pull/2914/files
The the put methods where left at int must have been an oversight.


More information about the Digitalmars-d-learn mailing list