[Bug 66377] New: Ignore-List in buildtools/qmake/filebuffer.cpp messes up parsing of .pro files if $( is present in variable values

matze at stud.fbi.fh-darmstadt.de matze at stud.fbi.fh-darmstadt.de
Wed Oct 22 11:44:03 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=66377     
           Summary: Ignore-List in buildtools/qmake/filebuffer.cpp messes up
                    parsing of .pro files if $( is present in variable
                    values
           Product: kdevelop
           Version: CVS
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: matze at stud.fbi.fh-darmstadt.de


Version:           CVS (using KDE KDE 3.1.2)
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.3 
OS:          Linux

following patch fixes it, but probably has side effects:

Index: filebuffer.cpp
===================================================================
RCS file: /home/kde/kdevelop/buildtools/qmake/filebuffer.cpp,v
retrieving revision 1.32
diff -u -3 -p -r1.32 filebuffer.cpp
--- filebuffer.cpp      7 Oct 2003 20:14:15 -0000       1.32
+++ filebuffer.cpp      22 Oct 2003 09:41:21 -0000
@@ -759,7 +759,7 @@ void FileBuffer::filterOutIgnoreValues(Q
 {
   QStringList qmakeFunctions =
     QStringList::split(',',"join(,member(,find(,contains(,count(,error(,exists(,"
-                       "include(,isEmpty(,system(,message(,infile(,$(");
+                       "include(,isEmpty(,system(,message(,infile(");

   int len=0;
   int closestMatch = -1;




More information about the KDevelop-devel mailing list