Commit 6f6b134e authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

Use PwriteFully and write image header last

Prevent corrupted images if dex2oat gets killed or if the image
writer is interrupted during writing.

Bug: 22858531
Bug: 27561308

(cherry picked from commit dba5a709)

Change-Id: If4f2c43bcc3cf918b5d2780f1709225b5a4ce116
parent 39731ac6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment