[Bug 60988] r++ does not complete until path is created

Alexander Dymo cloudtemple at mksat.net
Fri Jul 25 21:39:02 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=60988     
cloudtemple at mksat.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From cloudtemple at mksat.net  2003-07-25 21:38 -------
Subject: kdevelop/parts/cppsupport

CVS commit by dymo: 

create pcs path if it isn't exists
CCMAIL: 60988-done at 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/") ){




More information about the KDevelop-devel mailing list