commit | 4fdaa3e622a4780980e79ce465fca53ee0b80b09 | [log] [tgz] |
---|---|---|
author | Shih-wei Liao <sliao@google.com> | Sat May 21 07:45:21 2011 -0700 |
committer | Shih-wei Liao <sliao@google.com> | Sat May 21 07:45:21 2011 -0700 |
tree | be55b0520e93adf3467867b4b38b7dc56a4e19e9 | |
parent | 5c00f4f46a22d9fa8f3eb0ce90aec5eb40d30a9d [diff] [blame] |
Set up the file permission correctly. Change-Id: I76e896c9ee5680fec332a5586e049f05f6eb8904
diff --git a/lib/ExecutionEngine/Compiler.cpp b/lib/ExecutionEngine/Compiler.cpp index 17890d1..68ca985 100644 --- a/lib/ExecutionEngine/Compiler.cpp +++ b/lib/ExecutionEngine/Compiler.cpp
@@ -317,7 +317,7 @@ int Fd = -1; Fd = open(objPath.c_str(), O_CREAT | O_RDWR | O_TRUNC, - S_IRUSR , S_IWUSR , S_IRGRP , S_IROTH /* 0644 */); + S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH /* 0644 */); if (Fd < 0) { LOGE("Fail to open file '%s'", objPath.c_str());