October 06, 2005 std.zlib uncompress bug (dmd win32) | ||||
---|---|---|---|---|
| ||||
import std.zlib; void main(){ try{ uncompress(x"42"); assert(0); }catch(ZlibException e){ } } //instead of throwing a ZlibException, std.zlib.uncompress runs forever. |
October 15, 2005 Re: std.zlib uncompress bug (dmd win32) | ||||
---|---|---|---|---|
| ||||
Posted in reply to zwang | "zwang" <nehzgnaw@gmail.com> wrote in message news:di3bqr$p2u$1@digitaldaemon.com... > import std.zlib; > void main(){ > try{ > uncompress(x"42"); > assert(0); > }catch(ZlibException e){ > } > } > > > //instead of throwing a ZlibException, std.zlib.uncompress runs forever. This appears to be a problem with inflate() in the C zlib library from info-zip.com. |
Copyright © 1999-2021 by the D Language Foundation