mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
util/win32: Continue if access is denied when deleting a folder.
This commit is contained in:
committed by
GitHub
parent
a6ee48d4e3
commit
57ae4b11b6
@@ -770,6 +770,7 @@ int p_rmdir(const char *path)
|
||||
* handle to the directory." This sounds like what everybody else calls
|
||||
* EBUSY. Let's convert appropriate error codes.
|
||||
*/
|
||||
case ERROR_ACCESS_DENIED:
|
||||
case ERROR_SHARING_VIOLATION:
|
||||
errno = EBUSY;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user