mingw: add fallback for rmdir in case directory is in use
commit9ac1253f62d217ebc1fef842324e448ae1cd1406
authorHeiko Voigt <heiko.voigt@mahr.de>
Thu, 25 Feb 2010 13:58:36 +0000 (25 14:58 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Sun, 24 Oct 2010 23:04:18 +0000 (25 00:04 +0100)
tree7338884874648a9030b469eda80d290debc78a21
parentc8dd890132a70f766251d85c3e4b984674687120
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