limit need to explicitly call .c_str()

This commit is contained in:
Antonio SJ Musumeci 2016-12-22 15:53:17 -05:00
parent 7b4e1ea36d
commit e93c946198
8 changed files with 96 additions and 10 deletions

View file

@ -72,7 +72,7 @@ namespace fs
fusedir = fusepath;
fs::path::dirname(fusedir);
rv = fs::clonepath(fdin_path,fdout_path,fusedir.c_str());
rv = fs::clonepath(fdin_path,fdout_path,fusedir);
if(rv == -1)
return -1;
@ -91,7 +91,7 @@ namespace fs
{
fs::close(fdin);
fs::close(fdout);
fs::unlink(fdout_path.c_str());
fs::unlink(fdout_path);
return -1;
}