10000 util/win32: Continue if access is denied when deleting a folder. · libgit2/libgit2@57ae4b1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 57ae4b1

Browse files
authored
util/win32: Continue if access is denied when deleting a folder.
1 parent a6ee48d commit 57ae4b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util/win32/posix_w32.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,7 @@ int p_rmdir(const char *path)
770770
* handle to the directory." This sounds like what everybody else calls
771771
* EBUSY. Let's convert appropriate error codes.
772772
*/
773+
case ERROR_ACCESS_DENIED:
773774
case ERROR_SHARING_VIOLATION:
774775
errno = EBUSY;
775776
break;

0 commit comments

Comments
 (0)
0