Verified Commit e15bf2ac authored by Melroy van den Berg's avatar Melroy van den Berg
Browse files

Solve remaining cross-compile errors

parent 47417bf3
Pipeline #3422 passed with stage
in 37 seconds
......@@ -57,5 +57,5 @@ void File::write(const std::string &path, const std::string &content)
*/
std::string const File::getFilename(const std::string &path)
{
return n_fs::path(path).filename();
return n_fs::path(path).filename().string();
}
......@@ -120,10 +120,7 @@ bool IPFSProcess::shouldProcessTerminated(pid_t pid)
return (strncmp(pathbuf, beginPath, strlen(beginPath)) != 0);
// TODO: Compare IPFS version as well (via: "ipfs version" command), maybe?
}
else
{
return true; // error fall-back also kill
}
return true; // error fall-back also kill
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment