Browse Source

fs_openat.hpp

toml4
Antonio SJ Musumeci 9 months ago
parent
commit
acf1f3df06
  1. 6
      src/fs_openat.hpp

6
src/fs_openat.hpp

@ -64,10 +64,6 @@ namespace fs
const int flags_,
const mode_t mode_)
{
int rv;
rv = ::openat(dirfd_,pathname_,flags_,mode_);
return ((rv == -1) ? -errno : rv);
return fs::openat(dirfd_,pathname_.string().c_str(),flags_,mode_);
}
}
Loading…
Cancel
Save