summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-10-01 14:21:07 -0700
committerElliott Hughes <enh@google.com>2018-10-01 16:17:37 -0700
commit22917f63ee9ff25f629167b4a54f7d8be37da505 (patch)
treea44ac1fae0dc4cc1f405096ef6cfd6e981afd5db /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parent7208139406adbd40782ccd7554e1a21458da2b37 (diff)
Make fclose/pclose distinct.
I failed to convince the compiler/linker to just refrain (via factoring out, attribute `noinline`, or meddling with `--icf=none`), but luckily I noticed that we should have CHECK_FP in each function for a better error message, and the distinct error messages keep the two functions apart. (Also add a missing CHECK_FP to `clearerr_unlocked`.) Bug: http://b/116969207 Test: manual with a modified `crasher` Change-Id: Ic122e90e94f7e22f486be57d3dac7137a225d682
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions