mingw: add fallback for rmdir in case directory is in use
commit5883b116fc14ebd43642b55ae0093ced37aa12f5
authorHeiko Voigt <heiko.voigt@mahr.de>
Thu, 25 Feb 2010 13:58:36 +0000 (25 14:58 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 29 Jul 2010 11:17:10 +0000 (29 13:17 +0200)
tree439800d02d5be36263999ac74618e95d7c449d8d
parentaaadb88d8acc32dc37a39017c336e64883171f27
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