develop #17

Merged
coryab merged 50 commits from develop into main 2024-01-02 12:33:12 +00:00
Showing only changes of commit 8f3c27ac40 - Show all commits

View File

@ -45,14 +45,14 @@ bool mkpath(std::string path, int mode)
cur_dir = path.substr(0, pos);
if (mkdir(cur_dir.c_str(), mode) != 0
&& stat(cur_dir.c_str(), &buf) != 0) {
return -1;
return false;
}
}
else {
break;
}
}
return 0;
return true;
}
std::string dirname(const std::string &path)