xz: Always close the file before trying to delete it.
authorLasse Collin <lasse.collin@tukaani.org>
Mon, 2 Nov 2015 13:19:10 +0000 (15:19 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Mon, 2 Nov 2015 13:19:10 +0000 (15:19 +0200)
commite18adc56f2262aa9394d46681e9e4b9981ed5e97
tree71bedec9ab990f466b75cddf7df2a784756dc162
parent282e768a1484e88c8b7ec35655ee4959954ec87a
xz: Always close the file before trying to delete it.

unlink() can return EBUSY in errno for open files on some
operating systems and file systems.
src/xz/file_io.c