mingw: work around irregular failures of unlink on windows
commit1de9be03d51ec386e38e3ef870dc16a18f67d7e5
authorHeiko Voigt <hvoigt@hvoigt.net>
Tue, 26 Jan 2010 20:48:45 +0000 (26 21:48 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 8 Apr 2010 18:30:27 +0000 (8 20:30 +0200)
treeae57b82d5f9980376765a10a8ae4ce43267c15aa
parent87635ed04500887db49e4ce65f0b8df2c48c8210
mingw: work around irregular failures of unlink on windows

If a file is opened by another process (e.g. indexing of an IDE) for
reading it is not allowed to be deleted. So in case unlink fails retry
after waiting for some time. This extends the workaround from 6ac6f878.

Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
compat/mingw.c