Date: Tue, 29 Dec 2009 23:25:45 +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: <200912292326.nBTNQ2VU062327@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2009-12-29 23:25:45 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/opencrypto deflate.c
Log:
SVN rev 201232 on 2009-12-29 23:25:45Z 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.10.3 +10 -6 src/sys/opencrypto/deflate.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912292326.nBTNQ2VU062327>
