mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
further abstraction of system calls
This commit is contained in:
parent
1ad05d7783
commit
d0b6cd1f38
8 changed files with 121 additions and 15 deletions
|
|
@ -47,7 +47,7 @@ _access(Policy::Func::Search searchFunc,
|
|||
|
||||
fs::path::make(basepaths[0],fusepath,fullpath);
|
||||
|
||||
rv = fs::access(fullpath,mask,AT_EACCESS);
|
||||
rv = fs::eaccess(fullpath,mask);
|
||||
|
||||
return ((rv == -1) ? -errno : 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue