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

Re: Issue 908: Text-base compression status?

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2005-09-23 11:55:52 CEST

On 9/22/05, Philip Martin <philip@codematters.co.uk> wrote:
> "GOVAERTS Lieven" <Lieven.GOVAERTS@post.be> writes:
> > Can you point me to the file and interface
> svn_stream_compressed in libsvn_subr/stream.c
> > + the design error you mentioned here?
> If Subversion is built without zlib then svn_stream_compressed does no
> compression/decompression, but a client has no way to determine
> whether zlib is in use. Possible fixes: make zlib compulsory, make
> the whole compressed interface depend on SVN_HAVE_ZLIB, or make it a
> runtime error to use the compressed interface if SVN_HAVE_ZLIB is not
> set.

Could we do the latter *and* make it possible to programatically
detect wether the functionality is available?

Having the interface depend on SVN_HAVE_ZLIB seems to stimulate a
nightmare of conditionals to support it.


Received on Fri Sep 23 11:56:34 2005

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.