Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2009 18:59:58 +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:  <200912051900.nB5J06wi064094@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bz          2009-12-05 18:59:58 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/opencrypto       deflate.c 
  Log:
  SVN rev 200139 on 2009-12-05 18:59:58Z 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 npt seem to cope well with, resulting
    in errors when uncompressing exactly fills the outbut buffer without
    a Z_STREAM_END and a successive call returns an error.
  
  Revision  Changes    Path
  1.5.2.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?200912051900.nB5J06wi064094>