|
@ -21,8 +21,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_) |
|
|
rv = fs::lstat(can_path,&initial_st); |
|
|
rv = fs::lstat(can_path,&initial_st); |
|
|
ec.assign(errno,std::generic_category()); |
|
|
ec.assign(errno,std::generic_category()); |
|
|
if(rv == -1) |
|
|
if(rv == -1) |
|
|
|
|
|
|
|
|
return nonstd::make_unexpected(std::error_code(errno,std::generic_category())); |
|
|
|
|
|
|
|
|
return nonstd::make_unexpected(ec); |
|
|
|
|
|
|
|
|
tmp_path = can_path; |
|
|
tmp_path = can_path; |
|
|
while(tmp_path != tmp_path.root_path()) |
|
|
while(tmp_path != tmp_path.root_path()) |
|
|