[Issue 1694] Zip::ArchiveMember::name format bug

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 25 22:04:54 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1694





------- Comment #1 from wqeqweuqy at hotmail.com  2007-11-26 00:04 -------

looks like this cast is whats breaking it:
de.name = to!(string) (data[i .. i + namelen]);

this fixes it:
de.name = cast(invariant(char)[]) data[i .. i + namelen];


-- 



More information about the Digitalmars-d-bugs mailing list