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

Re: [wc-propcaching]: Cache existence of certain properties

From: Michael Sinz <Michael.Sinz_at_sinz.org>
Date: 2005-11-11 16:30:44 CET

On 11/11/05, Daniel Berlin <dberlin@dberlin.org> wrote:
> On Fri, 2005-11-11 at 17:39 +0300, Ivan Zhakov wrote:
[...]
> > I see problem here. For example if in future we will have property
> > "svn:needs-lock" and "svn:need". strstr() will find substring
> > "svn:need" in case when property "svn:needs-lock" exists. I consider
> > this is problem.
>
> Uh, why would we do such a thing?
> Anyway, if you are really concerned, i'll make it split the string into
> an array and search it, but it seems kinda a waste :)

No, don't do that - just make sure that the string match includes
a terminator (space, null, etc) (Easy in regexp)

--
Michael Sinz               Technology and Engineering Director/Consultant
"Starting Startups"                          mailto:Michael.Sinz@sinz.org
My place on the web                      http://www.sinz.org/Michael.Sinz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 11 16:34:40 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.