commit | ca3768e414c501620137e87aa12ea8f4705818f0 | [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 | dc4d722c0d98ece30f2e877b62d94113cd47a05c [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