remove useless filesep in genlib 55/17655/2
Cedric Delamarre [Fri, 8 Jan 2016 14:58:07 +0000 (15:58 +0100)]
test_run functions bug_12593

Change-Id: Id70e6efcd688b8dd395b91bfcd0ae855a38bba92

scilab/modules/io/sci_gateway/cpp/sci_genlib.cpp

index ca7f058..9accaa3 100644 (file)
@@ -223,7 +223,7 @@ types::Function::ReturnValue sci_genlib(types::typed_list &in, int _iRetCount, t
         {
             //version with direct parsing
             //parse the file to find all functions
-            std::wstring stFullPath = std::wstring(pstParsePath) + std::wstring(FILE_SEPARATOR) + std::wstring(pstPath[k]);
+            std::wstring stFullPath = std::wstring(pstParsePath) + std::wstring(pstPath[k]);
             std::wstring stFullPathBin(stFullPath);
             stFullPathBin.replace(stFullPathBin.end() - 3, stFullPathBin.end(), L"bin");
             std::wstring pstPathBin(pstPath[k]);