www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20930] New: std.zip: Remove 4 GB size limit

https://issues.dlang.org/show_bug.cgi?id=20930

          Issue ID: 20930
           Summary: std.zip: Remove 4 GB size limit
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: andre s-e-a-p.de

std.zip is throwing an exception while trying to open a file > 4 GB
https://github.com/dlang/phobos/blob/master/std/zip.d#L660

In my case I want to open an 8 GB file. The size limit seems unnecessary
as zlib supports files > 4 GB as stated in the FAQ
https://zlib.net/zlib_faq.html

Could you check whether support for zip files > 4 GB could be added to std.zip?

--
Jun 15