From: eap Date: Thu, 15 Mar 2012 08:51:54 +0000 (+0000) Subject: 0021208: EDF 1138 SMESH: Performance issue when loading SMESH with an hdf file contai... X-Git-Tag: V6_5_0a1~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a2f461a4d3c5bd4db3660f6437d00c76fc2e1b27;p=modules%2Fkernel.git 0021208: EDF 1138 SMESH: Performance issue when loading SMESH with an hdf file containing a big mesh - std::string command = "rm -f "; + std::string command = "rm -rf "; --- diff --git a/src/Container/Container_i.cxx b/src/Container/Container_i.cxx index ca31feb8e..f0e45ab2b 100644 --- a/src/Container/Container_i.cxx +++ b/src/Container/Container_i.cxx @@ -1755,7 +1755,7 @@ void Engines_Container_i::clearTemporaryFiles() #ifdef WIN32 std::string command = "del /F "; #else - std::string command = "rm -f "; + std::string command = "rm -rf "; #endif command += *it; system( command.c_str() );