commit | 4029ced07661bbe144d290b390cd56406111dbf8 | [log] [tgz] |
---|---|---|
author | Geremy Condra <gcondra@google.com> | Thu Apr 10 15:28:36 2014 -0700 |
committer | Geremy Condra <gcondra@google.com> | Thu Apr 10 15:36:20 2014 -0700 |
tree | b3365160cafd1c9ea96514cbf0ca34255a2f0101 | |
parent | ce63e8fd12df8bb8c1e5ac7136d0c28b2a8d38ad [diff] |
Increment TARGET_WINDOWS_WRITTEN after stream_to_target_write. Prior to this, TARGET_WINDOWS_WRITTEN would be incremented before the call to stream_to_target_write if the target was nonzero size and write_target succeeded. This caused tgt->start to be set incorrectly. This confused mapio but not xdelta, leading to correct target windows written to incorrect locations. Change-Id: I76db5281a749a20d0e63b8126238eb1886d87a1c