commit | 1555d1d2108d3afe89968eb7aa76f16062d20811 | [log] [tgz] |
---|---|---|
author | Roman Kiryanov <rkir@google.com> | Mon May 09 19:35:11 2022 -0700 |
committer | Roman Kiryanov <rkir@google.com> | Tue May 10 10:41:30 2022 -0700 |
tree | 073e69782c7dc64a38a03224720d4b0492e04730 | |
parent | f50f5235b0416acd32f0e4b679a1aba2f89f2d79 [diff] |
Add wrappers around IO functions to check the return values Os.read and Os.write don't throw exceptions if `fd` is closed on the other end. Bug: 231345789 Test: save a snapshot Test: use clipboard both, check if there is no Test: infinite loops which sets the clipboard Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: If98fb3adf58f2e4e13d483b78ea05ea9d8d61b58 Merged-In: If98fb3adf58f2e4e13d483b78ea05ea9d8d61b58