commit | d682c0e34c35266eca3b48de9ec6439eb674310a | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Jul 21 17:47:32 2020 +0000 |
committer | Steven Moreland <smoreland@google.com> | Tue Jul 21 17:55:58 2020 +0000 |
tree | 11631ae4fe73e28d8d859bd5dd4f521e86e4f1c2 | |
parent | 544d9b595478a177dd6ae864f9ced25c003530d1 [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