OSDN Git Service
(root)
/
android-x86
/
dalvik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17e4ea8
)
We also need to tell it the file mode when creating the output.
author
Dan Bornstein
<danfuzz@android.com>
Mon, 13 Sep 2010 01:27:00 +0000
(18:27 -0700)
committer
Dan Bornstein
<danfuzz@android.com>
Mon, 13 Sep 2010 01:27:00 +0000
(18:27 -0700)
Thanks to Elliott for catching this.
Change-Id: Ibb89ece3dd2e1d39a8a2d51cb8b7278842e057a1
dexopt/OptMain.c
patch
|
blob
|
history
diff --git
a/dexopt/OptMain.c
b/dexopt/OptMain.c
index
cde3d18
..
ca55565
100644
(file)
--- a/
dexopt/OptMain.c
+++ b/
dexopt/OptMain.c
@@
-346,7
+346,7
@@
static int preopt(int argc, char* const argv[])
goto bail;
}
- outFd = open(outName, O_RDWR | O_EXCL | O_CREAT);
+ outFd = open(outName, O_RDWR | O_EXCL | O_CREAT
, 0666
);
if (outFd < 0) {
perror(argv[0]);
goto bail;