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

Re: Suspicious code in RepoBrowser

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 09 Feb 2011 20:06:05 +0100

On 09.02.2011 10:41, Dmitry wrote:
> Hey.
>
> Currently CRepositoryBrowser::AutoInsert() contains a line of code:
>
> while (currentPath != path);
>
> that doesn't make sense - it looks like either a no-op or an infinite loop depending on whether the two strings are equal.

Not really. 'currentPath' is modified in that do-while loop until it
matches 'path'.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2703085
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-02-09 20:06:26 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.