commit | 1f82c81c20fc7e2480c0f42b8038fec0adede799 | [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 | c8f9c527e06f07ba760995db7766ff49302ae404 | |
parent | a411de4f2cd53dcced8c55ffc645a57c85a3ffcc [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