mingw: add fallback for rmdir in case directory is in use
commitb8cd1cdaadfa6cc0111ed8f3b3fecad7e7d6fb82
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, 1 Oct 2010 22:25:13 +0000 (1 23:25 +0100)
tree77ed17aaad8b711593142cabe70d148a4135f801
parent8ee4074bc04adf64bb4c4b01228d272bde4ce174
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