summaryrefslogtreecommitdiff
path: root/remote-curl.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2011-02-07 21:54:01 +0100
committerJunio C Hamano <gitster@pobox.com>2011-02-07 15:45:54 -0800
commitab1a11be7858e1f92ee2e4ee1d70fabe7d5fe0ee (patch)
treee1fc25e4c4da01c522fe5e614d6c218da032e1b9 /remote-curl.c
parent4f288100ceed14c65a1e964b2db4aaee4f4199fc (diff)
downloadgit-ab1a11be7858e1f92ee2e4ee1d70fabe7d5fe0ee.tar.gz
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 'remote-curl.c')
0 files changed, 0 insertions, 0 deletions