std.zip

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 25 10:40:54 PST 2015


On Sun, 25 Jan 2015 16:02:33 +0000, AndyC wrote:

> I was looking at this bug report:
> 
> https://issues.dlang.org/show_bug.cgi?id=2138
> 
> and sure enough it doesn't handle zipfiles with more than 65K files.
> 
> and I checked the code and its pretty limited on what it will even read.
> 
> Which got me to wondering, why reinvent the wheel?  Can std.zip use
> libzip instead of rewriting it?

'cause there is no libzip on windows by default, and there are GNU/Linux, 
FreeBSD and other OSes where libzip can absent. making it "required" 
dependency for dmd is not a very good move.

and integrating more and more C libraries in dmd source tree is not a 
good idea too.

yet i found std.zip handy sometimes, so i'm happy that we have it in 
Phobos.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150125/41e8f9b5/attachment.sig>


More information about the Digitalmars-d mailing list