提交 d9ea3337 编写于 作者: E emailweixu 提交者: GitHub

Merge pull request #1285 from emailweixu/fix_mkDirRecursively

Fix mkDirRecursively
......@@ -289,6 +289,7 @@ void mkDir(const char* filename) {
void mkDirRecursively(const char* dir) {
struct stat sb;
if (*dir == 0) return; // empty string
if (!stat(dir, &sb)) return;
mkDirRecursively(path::dirname(dir).c_str());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册