mingw: add fallback for rmdir in case directory is in use
commit23570804110359f1d3a01a324a3beb818a4ce170
authorHeiko Voigt <heiko.voigt@mahr.de>
Thu, 25 Feb 2010 13:58:36 +0000 (25 14:58 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 28 Dec 2010 17:56:02 +0000 (28 18:56 +0100)
treedc81af68bd51ac1b7b25aaa912f5d3577760e0e6
parent13806825d19d2452aa4997c5d355101178eae4d1
mingw: add fallback for rmdir in case directory is in use

The same logic as for unlink and rename also applies to rmdir. For
example in case you have a shell open in a git controlled folder. This
will easily fail. So lets be nice for such cases as well.

Signed-off-by: Heiko Voigt <heiko.voigt@mahr.de>
compat/mingw.c
compat/mingw.h