commit | ef204fae79009caa1ec7df1f79462bf8b92b5e58 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Wed Apr 30 17:25:23 2014 +0100 |
committer | Narayan Kamath <narayan@google.com> | Thu May 01 11:25:21 2014 +0100 |
tree | 9b9466c9179fd5a609e40946aaa32405a026a4fc | |
parent | 11d9f06a96a6909905c248ed684366190140095c [diff] |
Fix errno checking for dalvik-cache creation. On the host, it's possible for /tmp/foo/dalvik-cache/<isa> to not exist, but for /tmp/foo/dalvik-cache to be already present. In this scenario, the first mkdir() can fail with EEXIST. (cherry picked from commit 6fa28aef44106eef4a7195adb5eb77f6e5531572) Change-Id: I1da79ad23a4ff510a0f87eca4b52d9f52ab791ad