Merge pull request #1285 from emailweixu/fix_mkDirRecursively

Fix mkDirRecursively
avx_docs
emailweixu 8 years ago committed by GitHub
commit d9ea33373b

@ -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());

Loading…
Cancel
Save