Summary: | r++ does not complete until path is created | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Robert Jonsson <rj> |
Component: | Language Support: CPP (old) | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Robert Jonsson
2003-07-09 14:52:13 UTC
Subject: kdevelop/parts/cppsupport CVS commit by dymo: create pcs path if it isn't exists CCMAIL: 60988-done@bugs.kde.org M +5 -0 main.cpp 1.18 --- kdevelop/parts/cppsupport/main.cpp #1.17:1.18 @@ -209,4 +209,9 @@ int main( int argc, char* argv[] ) QString datadir = stddir.localkdedir() + "/" + KStandardDirs::kde_default( "data" ); + if (! KStandardDirs::makeDir(datadir + "/kdevcppsupport/pcs/")){ + std::cerr << "*error* " << "could not create " << datadir + "/kdevcppsupport/pcs/" << std::endl << std::endl; + return -1; + } + if( !QFile::exists(datadir + "/kdevcppsupport/pcs/") ){ |