Browse Source

Merge pull request #89 from trapexit/openpath

add creation of full path for open
pull/92/head 2.1.2
Antonio SJ Musumeci 9 years ago
parent
commit
ac03e08d31
  1. 2
      src/open.cpp

2
src/open.cpp

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

Loading…
Cancel
Save