From 09111e33b3bab6453d034c5cad2f36668af6bc36 Mon Sep 17 00:00:00 2001 From: ribes Date: Fri, 21 Sep 2007 14:03:24 +0000 Subject: [PATCH] - Bugs-- --- src/Container/Salome_file_i.cxx | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2