Skip to content

Commit

Permalink
win32: map win32 ERROR_DISK_FULL error to ENOSPC
Browse files Browse the repository at this point in the history
Change-Id: If2d134e3d7cc1c3ff8e7fa35843e8f371cc7087b
  • Loading branch information
nbourdau committed Jun 26, 2023
1 parent b58c72d commit f416f7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils-win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ int get_errcode_from_w32err(DWORD w32err)
case ERROR_NOT_SAME_DEVICE: return EXDEV;
case WSASYSNOTREADY:
case ERROR_DIRECTORY_NOT_SUPPORTED: return EISDIR;
case ERROR_DISK_FULL: return ENOSPC;
case ERROR_NOT_SUPPORTED: return ENOTSUP;
case WSAENETDOWN: return ENETDOWN;
case WSAENETUNREACH: return ENETUNREACH;
Expand Down

0 comments on commit f416f7a

Please sign in to comment.