[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 <subversion_at_hyrumwright.org>
Date: 2006-04-17 23:59:36 CEST

(Sent from wrong email address, resending...)

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.
  Remove check for SVN_HAVE_ZLIB in declaring structures for compressed
  stream support.

  (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 Tue Apr 18 00:00:37 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.