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

Re: svn commit: rev 3153

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-09-10 17:01:58 CEST

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> Philip, the comments I committed below were written with you in mind.
> Maybe you have thoughts on how to improve the fix of revision 3150.
>
> Didn't we recently have a discussion here about whether
> svn_path_split("/") should return "/" vs ""? If so, did we change its
> behavior to return "/" when given "/" as input? Such a change could
> have caused the bug that rev 3150 fixed, but I'm not sure what the
> best course is, in that case.
>
> Anyway, hoping you have some insight...

Rev 3113 was when I changed the path stuff. As far as I can tell by
looking at the rev 3112 code, I didn't change the behaviour of either
svn_path_split("/"), which always returned "/", or that of
svn_path_is_empty("/"), which always returned FALSE. Thus I think
these bugs may have always been present, but nobody triggered them.

Rev 3138 fixed a similar bug to 3150 (and rev 3113 itself also fixed
one). I identified two suspicious loops around the time rev 3138 was
being discussed, you have now fixed one, the other was in
ok_to_bump_path().

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 10 17:02:48 2002

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.