commit | ba558953d0ca643ad0ff4cc5c04e81ee6f930de9 | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Tue Feb 02 08:44:12 2010 -0800 |
committer | android-build SharedAccount <android-build@sekiwake.mtv.corp.google.com> | Fri Feb 12 15:13:49 2010 -0800 |
tree | 2967bbdb6d41ac89e8d9343c3adf7c7b0ab816d8 | |
parent | 25b79b8239c3bf75deb94bc76f2409e5fa43770c [diff] |
retry patch using cache if in-place write fails [cherry-pick from donut branch] Instead of failing outright when yaffs lies about how much space is free on the filesystem, delete the partially-written output file and retry using the copy-source-to-cache method instead. Change all the log statements to printf; mixing stdout and stderr logging just makes the logs hard to read because they're buffered differently.