From: ribes Date: Fri, 21 Sep 2007 14:03:24 +0000 (+0000) Subject: - Bugs-- X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=09111e33b3bab6453d034c5cad2f36668af6bc36;p=modules%2Fkernel.git - Bugs-- --- diff --git a/src/Container/Salome_file_i.cxx b/src/Container/Salome_file_i.cxx index 184a554c0..720c62031 100644 --- a/src/Container/Salome_file_i.cxx +++ b/src/Container/Salome_file_i.cxx @@ -736,6 +736,7 @@ Salome_file_i::checkLocalFile(std::string file_name) bool result = true; std::string comp_file_name(_fileManaged[file_name].path.in()); + comp_file_name.append("/"); comp_file_name.append(_fileManaged[file_name].file_name.in()); if(fopen(comp_file_name.c_str(),"rb") == NULL) { @@ -770,6 +771,7 @@ Salome_file_i::getDistributedFile(std::string file_name) int fileId; FILE* fp; std::string comp_file_name(_fileManaged[file_name].path.in()); + comp_file_name.append("/"); comp_file_name.append(_fileManaged[file_name].file_name.in()); // Test if the process can write on disk @@ -946,6 +948,7 @@ Salome_file_i::open(const char* file_name) } std::string comp_file_name(_fileManaged[fname].path.in()); + comp_file_name.append("/"); comp_file_name.append(fname); MESSAGE("Salome_file_i::open " << comp_file_name); FILE* fp;