Bug#16075: kdevelop crash on startup in building grepview on solaris 7, reported bug #11715 not fixed

gemperle at xs4aqll.nl gemperle at xs4aqll.nl
Sun Nov 26 14:28:20 UTC 2000


Package: kdevelop
Version: 2.0
Severity: crash
Installed from: Solaris 7 ( rebuilt myself)

The bug #11715 Kdevelop crash uppon startup when building grepview,is not fixed at least not on solaris and not on latest build kdevelop20001123.tar.gz. I've traced the problem to be in :
/kdevelop/kdevelop/parts/grepview/grepdlg.cpp  
files_combo->insertStrList(filepatterns);

filepatterns was missing the NULL compared to the other const char *:

replacing 

const char *filepatterns[] = {
    '*.h,*.hxx,*.cpp,*.cc,*.C,*.cxx,*.idl,*.c',
    '*.cpp,*.cc,*.C,*.cxx,*.c',
    '*.h,*.hxx,*.idl',
    '*'
};

BY 

const char *filepatterns[] = {
    '*.h,*.hxx,*.cpp,*.cc,*.C,*.cxx,*.idl,*.c',
    '*.cpp,*.cc,*.C,*.cxx,*.c',
    '*.h,*.hxx,*.idl',
    '*',
    0
};


FIXED THE ISSUE.


(submitted via bugs.kde.org)


-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list