OSDN Git Service

patchoat: DisableAutoClose when patching in place
authorJulien Delayen <julien.delayen@intel.com>
Thu, 5 Mar 2015 15:37:52 +0000 (16:37 +0100)
committerAndreas Gampe <agampe@google.com>
Wed, 11 Mar 2015 05:15:48 +0000 (22:15 -0700)
commita473f510620958e94b586efb5398cb87f263be2f
tree3fa5a538399a11ec10cc2a654b0a0ce1483ee177
parent81d38f74219774d87389f83f23595ffc8fe814b1
patchoat: DisableAutoClose when patching in place

Installd can give the same input and output when
patching directly in the dalvik-cache.
For this particular case, we need to DisableAutoClose
to avoid closing twice the same fd.

Change-Id: Ic1c0f1006f776e6aeb3772c83c52309c78a4bdfd
Signed-off-by: Julien Delayen <julien.delayen@intel.com>
Signed-off-by: Guilhem IMBERTON <guilhem.imberton@intel.com>
patchoat/patchoat.cc