diff --git a/Common/FileUtil.cpp b/Common/FileUtil.cpp index 87075d5ed4..1738571175 100644 --- a/Common/FileUtil.cpp +++ b/Common/FileUtil.cpp @@ -176,8 +176,12 @@ bool CreateDir(const std::string &path) } ERROR_LOG(COMMON, "CreateDir: CreateDirectory failed on %s: %i", path.c_str(), error); return false; +#else +#ifdef BLACKBERRY + if (mkdir(path.c_str(), 0765) == 0) #else if (mkdir(path.c_str(), 0755) == 0) +#endif return true; int err = errno; diff --git a/native b/native index 2078efcb17..f6dd98570b 160000 --- a/native +++ b/native @@ -1 +1 @@ -Subproject commit 2078efcb17dbc96931f103ce68d72be2ea4d295a +Subproject commit f6dd98570bc65b83d6674aab66fee0b00730b012