8bd6f455d2
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 |
||
---|---|---|
.. | ||
include/applypatch | ||
Android.bp | ||
applypatch.cpp | ||
applypatch_main.cpp | ||
applypatch_modes.cpp | ||
applypatch_modes.h | ||
bspatch.cpp | ||
freecache.cpp | ||
imgdiff.cpp | ||
imgdiff_main.cpp | ||
imgpatch.cpp | ||
NOTICE |