util/win32: Continue if access is denied when deleting a folder.

This commit is contained in:
Laurence McGlashan
2024-10-25 20:29:55 +01:00
committed by GitHub
parent a6ee48d4e3
commit 57ae4b11b6

View File

@@ -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;