mingw: add fallback for rmdir in case directory is in use
commit5d5a2afa39ac414a2390c5286519ce04b4dcd45a
authorHeiko Voigt <heiko.voigt@mahr.de>
Thu, 25 Feb 2010 13:58:36 +0000 (25 14:58 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 28 Apr 2010 14:23:58 +0000 (28 16:23 +0200)
tree0e470e34c90a1df0133ff36b158944f1bdd7cb65
parent42e8a6b4e039254b68723daf5856f1596f8ff26c
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