You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Bert Huijben <be...@qqmail.nl> on 2010/11/10 10:14:50 UTC

RE: svn_tristate_t Re: svn commit: r1033006 - /subversion/trunk/subversion/include/svn_types.h


> -----Original Message-----
> From: Daniel Shahaf [mailto:d.s@daniel.shahaf.name]
> Sent: woensdag 10 november 2010 0:26
> To: dev@subversion.apache.org
> Cc: Daniel Shahaf
> Subject: Re: svn_tristate_t Re: svn commit: r1033006 -
> /subversion/trunk/subversion/include/svn_types.h
> 
> Daniel Shahaf wrote on Wed, Nov 10, 2010 at 00:31:11 +0200:
> > I see us someday pcalloc()'ing one of these and forgetting to reset
> it
> > to the 'svn_tristate_unknown' value.
> 
> Actually, svn_log_changed_path2_create() does exactly this.  Right now.

When I introduced svn_tristate_t, 0 was the unknown value...
(And this might have been the reason to do that... but I don't remember the
exact reasoning any more)

	Bert