diff options
| author | Scott Anderson <saa@google.com> | 2012-01-12 14:01:43 -0800 |
|---|---|---|
| committer | Scott Anderson <saa@google.com> | 2012-01-12 14:01:43 -0800 |
| commit | a9fac4155f645b59d92028d56af573999051ab70 (patch) | |
| tree | 5bae58a54b2c45c80033a32f2ddbd47063f4a3a3 /trusty/coverage/coverage_test.cpp | |
| parent | d95c6152197cf3976797267ad40e61b7344933de (diff) | |
Fix hd command so it doesn't error out on EOF
hd would error out on files that were not a multiple of its read
buffer size (4096). For example:
Read error on init.rc, offset 17040 len 4096, No such file or directory
The fix is to stop reading on EOF instead of treating it as an
error.
Change-Id: Ie7f4216e08835150f2f5784e77bb9e2190b0def4
Signed-off-by: Scott Anderson <saa@google.com>
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
