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.


Tim Kientzle
freebsd-hackers@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"