Date: Thu, 21 Feb 2008 17:59:21 -0800 From: Tim Kientzle <kientzle@freebsd.org> To: "Heiko Wundram (Beenic)" <wundram@beenic.net> Cc: freebsd-hackers@freebsd.org Subject: Re: OT: Stream structures in bzlib and zlib Message-ID: <47BE2C79.1080203@freebsd.org> In-Reply-To: <200802211053.16113.wundram@beenic.net> References: <200802211053.16113.wundram@beenic.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Heiko Wundram (Beenic) wrote: > Hey all! > > I'm currently working on a project using zlib and bzlib, and I'm currently > slightly stomped by the fact that both define the input buffer in their > stream structure as non-const. I think they're not defined as const just to maintain compatibility with old and/or broken compilers. libarchive treats them as const and has never had any problems from this. Cheers, Tim Kientzle
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47BE2C79.1080203>