Browse Source

fs_find_mount_point.cpp

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

4
src/fs_find_mount_point.cpp

@ -7,13 +7,13 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
{ {
int rv; int rv;
struct stat initial_st; struct stat initial_st;
struct stat lower_st;
struct stat tmp_st;
rv = fs::lstat(path_,&initial_st); rv = fs::lstat(path_,&initial_st);
if(rv == -1) if(rv == -1)
return -1; return -1;
while(path
return 0; return 0;
} }
Loading…
Cancel
Save