diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-09-01 15:17:04 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2016-09-26 09:23:55 -0700 |
commit | 70a83dc7b3bfd56098079c95de5d80daa9998a77 (patch) | |
tree | 72ee9cdcecfa7be4753f6dd9b96f4b53bde0346d /libcutils/sockets_unix.cpp | |
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
Diffstat (limited to 'libcutils/sockets_unix.cpp')
0 files changed, 0 insertions, 0 deletions