commit | a82c89da1f8daa55698ce5cd0c79899b7172d8cf | [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 | 294d3f745274330fc86476332f9431285400be2b [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