Merge pull request #89 from trapexit/openpath

add creation of full path for open
This commit is contained in:
Antonio SJ Musumeci 2015-07-16 16:58:14 -04:00
commit ac03e08d31

View File

@ -57,6 +57,8 @@ _open(Policy::Func::Search searchFunc,
if(rv == -1)
return -errno;
fs::path::append(path[0],fusepath);
fd = ::open(path[0].c_str(),flags);
if(fd == -1)
return -errno;