mingw: work around irregular failures of unlink on windows
commit1848523948a27195e829c834d06b08e833df27de
authorHeiko Voigt <hvoigt@hvoigt.net>
Tue, 26 Jan 2010 20:48:45 +0000 (26 21:48 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 25 Aug 2010 10:28:28 +0000 (25 12:28 +0200)
treebc849661a2f868a6e8f387331763fe8de79ed2dd
parent56e74ba1603113576bb4240de0c9b9710dab7dd9
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