Skip to content
Commit 6edf5732 authored by Roman Kiryanov's avatar Roman Kiryanov
Browse files

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
Bug: 232284244
Test: save a snapshot
Test: use clipboard both, check if there is no
Test: infinite loops which sets the clipboard
Signed-off-by: default avatarRoman Kiryanov <rkir@google.com>
Change-Id: If98fb3adf58f2e4e13d483b78ea05ea9d8d61b58
Merged-In: If98fb3adf58f2e4e13d483b78ea05ea9d8d61b58
parent e1340d67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment