diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-03-06 19:19:04 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:38:25 +0300 |
commit | cbc137f24089dac4f4540e23747bb7b0259c936b (patch) | |
tree | 6ba7f4be58d6aed030973755b77af39cbed0c7ba /platform/platform_android.cpp | |
parent | fa062c45a4f4c76ca313e9da41efe18948cea326 (diff) |
Extract index path generation from offsets table class
Diffstat (limited to 'platform/platform_android.cpp')
-rw-r--r-- | platform/platform_android.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/platform_android.cpp b/platform/platform_android.cpp index aa330bc70a..6e83a93c5b 100644 --- a/platform/platform_android.cpp +++ b/platform/platform_android.cpp @@ -246,7 +246,8 @@ bool Platform::GetFileSizeByName(string const & fileName, uint64_t & size) const void Platform::MkDir(string const & dirName) const { - ::mkdir(dirName.c_str(), 0755); + if (mkdir(dirName.c_str(), 0755)) + LOG(LWARNING, ("Can't create directory: ", dirName)); } namespace |