platform_bootable_recovery/applypatch
Bernie Innocenti 8bd6f455d2 Fix bogus error checking on unique_fd
The expression "!fd" calls the implicit conversion to int, but comparing
the raw fd against 0 does not work, since open() and other POSIX calls
returning a file descriptor use -1 to signal an error.

Test: m recovery
Change-Id: I0847c276f39cb9dd09c7ffb96951276113418fc8
2019-03-28 17:28:13 +09:00
..
include/applypatch applypatch: {Load,Save}FileContents return bool values. 2018-08-31 14:31:19 -07:00
Android.bp Remove otafault 2018-08-27 17:16:19 -07:00
applypatch.cpp Fix bogus error checking on unique_fd 2019-03-28 17:28:13 +09:00
applypatch_main.cpp applypatch: Refactor applypatch(). 2018-08-31 09:21:15 -07:00
applypatch_modes.cpp applypatch: Refactor applypatch(). 2018-08-31 09:21:15 -07:00
applypatch_modes.h applypatch: Change applypatch command-line arguments. 2018-07-20 11:26:17 -07:00
bspatch.cpp applypatch: Drop the SHA_CTX parameter in Apply{BSDiff,Image}Patch. 2018-04-20 09:27:50 -07:00
freecache.cpp applypatch: Fix comparison of integers of different signs. 2018-12-17 10:07:27 -08:00
imgdiff.cpp Convert deflate image chunks to raw if the raw data is smaller 2018-05-24 10:49:54 -07:00
imgdiff_main.cpp Add tests for imgdiff. 2016-12-19 16:53:03 -08:00
imgpatch.cpp applypatch: Fix comparison of integers of different signs. 2018-12-17 10:07:27 -08:00
NOTICE Add NOTICE file 2012-04-06 13:51:00 -07:00