summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-09-21 16:58:15 -0700
committerDan Willemsen <dwillemsen@google.com>2017-09-22 19:37:35 +0000
commit7ebc81f4a2b093c978d1f61db8c0af0adf1ec66e (patch)
tree7f55523c8a9205bb6039814f0d1cdd3c4200c8bc /libc/malloc_debug/malloc_debug.cpp
parent24c9c3f3800eb66640d95eaa251a97cf97d5f438 (diff)
Fix error found building relocation packer for host bionic
bionic/tools/relocation_packer/src/main.cc:109:7: error: comparison of constant -1 with expression of type 'typeof (read(fd.get(), e_ident, (16)) != (16))' (aka 'bool') is always false [-Werror,-Wtautological-constant-out-of-range-compare] if (TEMP_FAILURE_RETRY(read(fd.get(), e_ident, EI_NIDENT) != EI_NIDENT)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bionic/libc/include/unistd.h:243:18: note: expanded from macro 'TEMP_FAILURE_RETRY' } while (_rc == -1 && errno == EINTR); \ ~~~ ^ ~~ 1 error generated. Bug: 31559095 Test: mmma bionic Change-Id: I473a19e3d51ff355233ae7f87b1013be069edb1f
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions