Browse Source

fs_find_mount_point.cpp

inodecalc
Antonio SJ Musumeci 3 weeks ago
parent
commit
47988f4357
  1. 4
      src/fs_find_mount_point.cpp

4
src/fs_find_mount_point.cpp

@ -22,8 +22,10 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
ghc::filesystem::path can_path;
ghc::filesystem::path tmp_path;
printf("%s\n",ghc::filesystem::weakly_canonical(path_).string().c_str());
printf("%s\n",ghc::filesystem::absolute(path_).string().c_str());
can_path = ghc::filesystem::weakly_canonical(path_,ec);
printf("%s\n",can_path.string().c_str());
if(ec)
can_path = ghc::filesystem::absolute(path_,ec);
if(ec)

Loading…
Cancel
Save