diff options
author | Elliott Hughes <enh@google.com> | 2018-10-01 14:21:07 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-10-01 16:17:37 -0700 |
commit | 22917f63ee9ff25f629167b4a54f7d8be37da505 (patch) | |
tree | a44ac1fae0dc4cc1f405096ef6cfd6e981afd5db /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 7208139406adbd40782ccd7554e1a21458da2b37 (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/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions