This is a discussion on Re: OT: Stream structures in bzlib and zlib - FreeBSD ; 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 ...
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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"