platform_bootable_recovery/applypatch
Jeremy Compostella a91c66d7c1 imgdiff: fix file descriptor leak
mkstemp() allocates a file description that is never released.  If
MakePatch() is called too many time, imgdiff reaches the Operating
System EMFILE (too many open files) limit.

Change-Id: Icbe1399f6f6d32cfa1830f879cacf7d75bbd9fc3
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Signed-off-by: Gaelle Nassiet <gaellex.nassiet@intel.com>
2015-09-08 19:15:09 +02:00
..
testdata relocate applypatch; add type system and new functions to edify 2010-02-18 14:22:12 -08:00
Android.mk applypatch: Refactor strtok(). 2015-07-24 11:08:14 -07:00
applypatch.cpp updater: Clean up char* with std::string. 2015-08-06 13:05:00 -07:00
applypatch.h applypatch: Support flash mode. 2015-07-24 11:15:19 -07:00
applypatch.sh refactor applypatch and friends 2010-02-22 15:30:33 -08:00
bsdiff.cpp recovery: Switch applypatch/ and updater/ to cpp. 2015-07-13 17:21:31 -07:00
bspatch.cpp recovery: Switch applypatch/ and updater/ to cpp. 2015-07-13 17:21:31 -07:00
freecache.cpp recovery: Switch applypatch/ and updater/ to cpp. 2015-07-13 17:21:31 -07:00
imgdiff.cpp imgdiff: fix file descriptor leak 2015-09-08 19:15:09 +02:00
imgdiff.h relocate applypatch; add type system and new functions to edify 2010-02-18 14:22:12 -08:00
imgdiff_test.sh relocate applypatch; add type system and new functions to edify 2010-02-18 14:22:12 -08:00
imgpatch.cpp recovery: Switch applypatch/ and updater/ to cpp. 2015-07-13 17:21:31 -07:00
main.cpp applypatch: Support flash mode. 2015-07-24 11:15:19 -07:00
NOTICE Add NOTICE file 2012-04-06 13:51:00 -07:00
utils.cpp recovery: Switch applypatch/ and updater/ to cpp. 2015-07-13 17:21:31 -07:00
utils.h refactor applypatch and friends 2010-02-22 15:30:33 -08:00