diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2011-02-07 21:54:01 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-07 15:45:54 -0800 |
commit | ab1a11be7858e1f92ee2e4ee1d70fabe7d5fe0ee (patch) | |
tree | e1fc25e4c4da01c522fe5e614d6c218da032e1b9 /git-bisect.sh | |
parent | mingw: add fallback for rmdir in case directory is in use (diff) | |
download | tgif-ab1a11be7858e1f92ee2e4ee1d70fabe7d5fe0ee.tar.xz |
mingw_rmdir: set errno=ENOTEMPTY when appropriate
On Windows, EACCES overrules ENOTEMPTY when calling rmdir(). But if the
directory is busy, we only want to retry deleting the directory if it
is empty, so test specifically for that case and set ENOTEMPTY rather
than EACCES.
Noticed by Greg Hazel.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-bisect.sh')
0 files changed, 0 insertions, 0 deletions