commit | 70a83dc7b3bfd56098079c95de5d80daa9998a77 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Thu Sep 01 15:17:04 2016 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Mon Sep 26 09:23:55 2016 -0700 |
tree | 72ee9cdcecfa7be4753f6dd9b96f4b53bde0346d | |
parent | ba1a798fd8073b6069165cc03289fb9399f0495b [diff] |
liblog: fix errno issues with event tag map Cleanup. Save the errno for the calls that fail, and reinstate them for return. Drop fprintf stutter, one succinct line. Solve a memory leak in close. Change android_lookupEventTag() to use an unsigned int so that we can use the full range of uint32_t tags. Make sure this file compiles clean in C++. Test: gTest liblog-unit-tests Bug: 30963384 Bug: 31456426 Change-Id: I6a5efa6fb7e991431caba75ef0971e111968f6bf