Date: Mon, 4 Jan 2010 14:41:31 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/opencrypto deflate.c Message-ID: <201001041441.o04EfsIU084490@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2010-01-04 14:41:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/opencrypto deflate.c Log: SVN rev 201498 on 2010-01-04 14:41:31Z by bz MFC r199887: Z_PARTIAL_FLUSH is marked deprecated. Z_SYNC_FLUSH is the suggested replacement but only use it for inflate. For deflate use Z_FINISH as Z_SYNC_FLUSH adds a trailing marker in some cases that inflate(), despite the comment in zlib, does not seem to cope well with, resulting in errors when uncompressing exactly fills the output buffer without a Z_STREAM_END and a successive call returns an error. Revision Changes Path 1.4.2.2 +12 -7 src/sys/opencrypto/deflate.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001041441.o04EfsIU084490>