commit | 540113ad8ce2513f0057c3836a0823ae124b377d | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Mar 19 11:44:32 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Mar 19 11:44:32 2015 -0700 |
tree | 51eb00e1f2437d605ef3e870761bcaf3c2284dd3 | |
parent | 18a38b4784a97ac0c58038ff1b57c7cbcc3106c7 [diff] |
Switch fastboot to ExtractEntryToFile. Rather than malloc, ExtractToMemory, and write. Also fix the tmpfile error check (tmpfile returns NULL on failure), and improve error reporting. Bug: 19765860 Change-Id: I236923e883128083377607f1519bb2e27b8f03f8