Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 2009 17:44:57 +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:  <200911281745.nASHjKxM095742@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bz          2009-11-28 17:44:57 UTC

  FreeBSD src repository

  Modified files:
    sys/opencrypto       deflate.c 
  Log:
  SVN rev 199887 on 2009-11-28 17:44:57Z by bz
  
  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.
  
  MFC after:      6 days
  
  Revision  Changes    Path
  1.7       +10 -6     src/sys/opencrypto/deflate.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911281745.nASHjKxM095742>