Android-x86
Fork
Donation


Commit MetaInfo

Revisión2666cd54cd0f52831af43237b6b17d1d7fa1b1e7 (tree)
Tiempo2019-10-22 15:12:24
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86

Cambiar Resumen

Diferencia incremental

--- a/runtime/os_linux.cc
+++ b/runtime/os_linux.cc
@@ -54,7 +54,7 @@ File* OS::CreateEmptyFileWriteOnly(const char* name) {
5454 File* OS::OpenFileWithFlags(const char* name, int flags) {
5555 CHECK(name != nullptr);
5656 std::unique_ptr<File> file(new File);
57- if (!file->Open(name, flags, 0666)) {
57+ if (!file->Open(name, flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) {
5858 return nullptr;
5959 }
6060 return file.release();
Show on old repository browser