mingw: add fallback for rmdir in case directory is in use
commiteacf03e96321cf88deb68eb32372b8d741be19bb
authorHeiko Voigt <heiko.voigt@mahr.de>
Thu, 25 Feb 2010 13:58:36 +0000 (25 14:58 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 5 Jul 2010 09:01:37 +0000 (5 11:01 +0200)
tree657290b58f2a271bc6c50c27370644021be48e66
parent7467688a4bdc5ff524abe2d405270991ab204e77
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