A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move a tiny bit of surf to xbt
[simgrid.git]
/
src
/
plugins
/
file_system
/
s4u_FileSystem.cpp
diff --git
a/src/plugins/file_system/s4u_FileSystem.cpp
b/src/plugins/file_system/s4u_FileSystem.cpp
index
6a79b28
..
4d6db1a
100644
(file)
--- a/
src/plugins/file_system/s4u_FileSystem.cpp
+++ b/
src/plugins/file_system/s4u_FileSystem.cpp
@@
-364,9
+364,9
@@
std::map<std::string, sg_size_t, std::less<>>* FileSystemDiskExt::parse_content(
auto* parse_content = new std::map<std::string, sg_size_t, std::less<>>();
auto* parse_content = new std::map<std::string, sg_size_t, std::less<>>();
- auto fs = std::unique_ptr<std::ifstream>(simgrid::xbt::
ifsopen_path(filename, surf_path
));
+ auto fs = std::unique_ptr<std::ifstream>(simgrid::xbt::
path_ifsopen(filename
));
xbt_assert(not fs->fail(), "Cannot open file '%s' (path=%s)", filename.c_str(),
xbt_assert(not fs->fail(), "Cannot open file '%s' (path=%s)", filename.c_str(),
-
(boost::join(surf_path, ":")
).c_str());
+
simgrid::xbt::path_to_string(
).c_str());
std::string line;
std::vector<std::string> tokens;
std::string line;
std::vector<std::string> tokens;