[Orxonox-commit 1209] r5927 - code/branches/core5/src/libraries/core

rgrieder at orxonox.net rgrieder at orxonox.net
Sun Oct 11 21:50:53 CEST 2009


Author: rgrieder
Date: 2009-10-11 21:50:53 +0200 (Sun, 11 Oct 2009)
New Revision: 5927

Modified:
   code/branches/core5/src/libraries/core/PathConfig.cc
Log:
Windows fix: Paths containing "fancy" stuff like '.' were not correctly interpreted when loading a DLL.

Modified: code/branches/core5/src/libraries/core/PathConfig.cc
===================================================================
--- code/branches/core5/src/libraries/core/PathConfig.cc	2009-10-09 22:56:55 UTC (rev 5926)
+++ code/branches/core5/src/libraries/core/PathConfig.cc	2009-10-11 19:50:53 UTC (rev 5927)
@@ -277,7 +277,7 @@
                 {
                     // We've found a helper file
                     std::string library = filename.substr(0, filename.size() - moduleextensionlength);
-                    modulePaths.push_back((modulePath_ / library).string());
+                    modulePaths.push_back((modulePath_ / library).file_string());
                 }
             }
             ++file;




More information about the Orxonox-commit mailing list