提交 0b7e7876 编写于 作者: X xuwei06

Fix mkDirRecursively

Change-Id: Ie09fd666ca208994f22e9f83af6072f4d5e6aa1a
上级 c785975b
......@@ -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.
先完成此消息的编辑!
想要评论请 注册