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

Re: CVS update: subversion/subversion/include svn_path.h

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-08-31 23:21:17 CEST

On Thu, Aug 31, 2000 at 08:29:37PM -0000, kfogel@tigris.org wrote:
> User: kfogel
> Date: 00/08/31 13:29:37
> Modified: subversion/include svn_path.h
> Log:
> Change path library to always return non-shared results, instead of
> side-effecting its arguments (part of making libsvn_wc insensitive to
> whether delta traversal happens depth-first vs breadth-first):

Another way to have fixed WC is to dup() first, then use the side-effect
versions of the functions. svn_string is great for the side-effect type of
functions because it can grow/shrink/realloc as needed for the operation.

I'd recommend one of two things:

1) restore the side-effect style and dup first
2) create a second set of functions that use side-effects (maybe suffix
   these with _se?)



Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:07 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.