diff options
| author | bohu <bohu@google.com> | 2016-02-29 13:13:19 -0800 |
|---|---|---|
| committer | bohu <bohu@google.com> | 2016-03-01 17:39:31 -0800 |
| commit | 8ac1b044afd879ff6e0bb969d6c25c89b1869ea8 (patch) | |
| tree | b57e3ca9bf190dab8af439234affcb985b480912 /libunwindstack/tests/MemoryLocalTest.cpp | |
| parent | 2d750b266b9f64e4102ab47d2d38e84874c0a1d2 (diff) | |
Emulator: fix adbd qemu pipe partial write
It does happens that the adb_write only writes to the
qemu pipe partially which throws host side's adb backend
into confusion and crashes.
This CL replaces adb_write with WriteFdExactly;
adb_read with ReadFdExactly.
(cherry picked from commit f66c5938be56c6fe607725c80129e677e196f03a)
Change-Id: I684f5df79b1e3f00b4b7a2452c2712a73c15973c
Diffstat (limited to 'libunwindstack/tests/MemoryLocalTest.cpp')
0 files changed, 0 insertions, 0 deletions
