commit | ef493ab2dc882d7ab434b0e116e0d65680ed74ed | [log] [tgz] |
---|---|---|
author | Markus Metzger <markus.t.metzger@intel.com> | Fri Feb 17 11:42:45 2017 +0100 |
committer | Markus Metzger <markus.t.metzger@intel.com> | Mon Feb 20 09:06:36 2017 +0100 |
tree | 101fb00123460029c01c1058ab89c5eec9de7d86 | |
parent | 622a135e511cdb9015c4e68f9cfc0494382ded70 [diff] |
libipt, ptunit: remove temporary files after closing In ptunit-section, we create temporary files and remove them again by calling remove() on the filename while the file is still open. This may cause remove() to fail on some systems. Close the file first. Change-Id: Ie1ea517accbb95e2cbe76345bbdddb55d5865d11 Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>