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/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to