[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    patch for kdevelop 3.4
From:       cedric <cedric.borgese () gmail ! com>
Date:       2007-03-15 21:07:27
Message-ID: 200703152207.27383.cedric.borgese () gmail ! com
[Download RAW message or body]

Hello, I encouter today a little bug in kdevelop 3.4 (svn up to date) in the 
black list file functionnality.
This happen when you have two dirs with the same name, the first in the top 
directory of the project and blacklisted, for example :

project_dir
 /dir1
 /dir2
    /dir1

if project_dir/dir1 is blacklisted, all files in project_dir/dir2/dir1 are not 
added in the project.

I attached the patch to fix this.
    

["patch.diff" (text/x-diff)]

Index: buildtools/custommakefiles/customprojectpart.cpp
===================================================================
--- buildtools/custommakefiles/customprojectpart.cpp	(révision 641819)
+++ buildtools/custommakefiles/customprojectpart.cpp	(copie de travail)
@@ -1554,7 +1554,7 @@
     QString parentpath;
     for( QStringList::const_iterator it = paths.begin(); it != paths.end(); ++it )
     {
-        parentpath = *it;
+        parentpath = parentpath + *it;
         if( blacklist.find( parentpath ) != blacklist.end() )
             return true;
         parentpath = parentpath + "/";


_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic