commit | 3eec5b9bee837e8a5454682902978ecfe5c1866d | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Jul 21 17:47:32 2020 +0000 |
committer | Steven Moreland <smoreland@google.com> | Fri Jul 24 17:38:11 2020 +0000 |
tree | e3c3bbf680a570950f707b5b3f9777d09bdd23a5 | |
parent | afebef48e1e035a06770a1f67a0ccc644ff119d5 [diff] |
tryRegistrationImpl: better error checking ifstream is_open does not check for errors, so we use ifstream operator bool instead, and we use it more frequently than strictly needed. Also, the functions here are added to attribute noinline, so that stacktraces will be more useful. Test: boot and check names are fixed up in `ps -A -o comm` Bug: 161271113 Change-Id: Ia451fa1b06c49def0fe8b3a3558af83fff18ec96 Merged-In: Ia451fa1b06c49def0fe8b3a3558af83fff18ec96