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

Re: questionable code?

From: Blair Zajac <blair_at_orcaware.com>
Date: Wed, 25 Mar 2009 15:44:54 -0700

Matthew Woehlke wrote:
> In find_unmerged_mergeinfo (subversion/libsvn_client/merge.c circa line
> 7490), the line near the bottom of the function:
> if (SVN_IS_VALID_REVNUM(youngest_merged_rev))
>
> ...causes a compile error on c89 compilers. It looks like this line
> should actually be:
> if (SVN_IS_VALID_REVNUM(*youngest_merged_rev))
>
> (Noticed in 1.5.6 and 1.6.0.)

Yes, that does look like a bug. Fixed in r36783.

Paul, should this be merged into 1.5.x and 1.6.x?

Regards,
Blair

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1421174
Received on 2009-03-25 23:45:18 CET

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.