commit | cdb621bfea3083afbea238dbf374826742aca6d0 | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Tue Feb 02 08:44:12 2010 -0800 |
committer | Doug Zongker <dougz@android.com> | Tue Feb 02 08:44:12 2010 -0800 |
tree | 3a9db3040ae436bbe23d61a124e775b2f1808b82 | |
parent | 25a331ab870edcf31dbbfab0a9e6f4cef88654f5 [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.