You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Hyrum K. Wright" <hy...@byu.edu> on 2006/04/17 20:37:36 UTC

[PATCH] Remove check against SVN_HAVE_ZLIB in stream.c

As of r18363, we now include zlib unconditionally.  The check against
SVN_HAVE_ZLIB in libsvn_subr/stream.c is now redundant, because we are
guaranteed to have zlib available.  This patch removes this check, and
also changes the behavior of svn_stream_compressed to always return the
compressed stream, instead of defaulting to the uncompressed version.

This patch does not remove the SVN_HAVE_ZLIB define, but it would appear
that this is also redundant.

-Hyrum

[[[
Remove #ifdef checks for SVN_HAVE_ZLIB in stream.c.  As of r18363, we
now link zlib in unconditionally.

* subversion/libsvn_subr/stream.c
  Remove check for SVN_HAVE_ZLIB for inclusion of zlib.h.

  (svn_stream_compressed): Remove check for SVN_HAVE_ZLIB.  Return the
  compressed stream unconditionally.
]]]