mingw: add fallback for rmdir in case directory is in use
commitc6a119e59d370154d8ee702c858d44adec89eee2
authorHeiko Voigt <heiko.voigt@mahr.de>
Thu, 25 Feb 2010 13:58:36 +0000 (25 14:58 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 25 Aug 2010 10:28:28 +0000 (25 12:28 +0200)
tree658bb4f13f44183876b0bae3bf80473fb9ea2e88
parentc7146caf30630b44e3cddf3a6492fa74bdc03882
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