mingw: add fallback for rmdir in case directory is in use
commit2fe90c25bdbbd626ba951f1116e35282b5f42cdf
authorHeiko Voigt <heiko.voigt@mahr.de>
Thu, 25 Feb 2010 13:58:36 +0000 (25 14:58 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 20 Sep 2010 14:53:06 +0000 (20 15:53 +0100)
tree70bfc9593935a8f60f3f01249088aa20b3ec2535
parent2bc740a12a6c60f69691aa8739075c585c6990ef
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