[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Remove check against SVN_HAVE_ZLIB in stream.c

From: Hyrum K. Wright <hyrum_wright_at_byu.edu>
Date: 2006-04-17 22:37:36 CEST

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.
]]]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Wed Apr 19 19:00:27 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.