mingw: add fallback for rmdir in case directory is in use
commit23ba47788b06d87ff57233713ab2a0309b7e7463
authorHeiko Voigt <heiko.voigt@mahr.de>
Thu, 25 Feb 2010 13:58:36 +0000 (25 14:58 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 17 Sep 2010 09:30:11 +0000 (17 10:30 +0100)
tree73f81a2407251d95a97c9ef1ca2a39cc813836a6
parent1f528310be0c0c7b2e426a8c3d4f1c0ac60fa17b
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