358c2ec1dc
We should always use unique_fd or unique_file to hold the FD or FILE* pointer when opening via ota_(f)open functions. This CL avoids accidentally closing raw FDs or FILE* pointers that are managed by unique_fd/unique_file. Test: recovery_component_test passes. Change-Id: If58eb8b5c5da507563f85efd5d56276472a1c957 |
||
---|---|---|
.. | ||
include/applypatch | ||
testdata | ||
Android.mk | ||
applypatch.cpp | ||
applypatch.sh | ||
applypatch_main.cpp | ||
applypatch_modes.cpp | ||
applypatch_modes.h | ||
bspatch.cpp | ||
freecache.cpp | ||
imgdiff.cpp | ||
imgdiff.h | ||
imgdiff_test.sh | ||
imgpatch.cpp | ||
libimgpatch.pc | ||
Makefile | ||
NOTICE | ||
utils.cpp | ||
utils.h |