Re: svn commit: r28752 - in branches/reintegrate/subversion: libsvn_fs_base tests/libsvn_fs
On Sat, 05 Jan 2008, Branko Čibej wrote:
> Daniel Rall wrote:
> > On Fri, 04 Jan 2008, cmpilato_at_tigris.org wrote:
> > ...
> >> + /* Are we changing the node? */
> >> + if ((! has_mergeinfo) != (! *had_mergeinfo))
> > ...
> > I find this expression really difficult to grok at first glance. Is there
> > a simpler way to do it (without all the negation)?
> Not in C, since it doesn't have a real boolean type. This is a pretty
> standard way of writing a logical exclusive-or.
Okay, thanks Brane.
Received on 2008-01-07 06:03:06 CET
- application/pgp-signature attachment: stored
This is an archived mail posted to the Subversion Dev