commit 8717453208bd1f32258d0cf5cdc41e76c0a3dbeb (tree)
parent 8a5f8342405c2877dfe87bb235b6925a548b5f18
Author: psbob <178673413+psbob@users.noreply.github.com>
Date: Wed, 30 Apr 2025 23:48:16 +0100
Fix Unexpected error for 1453 on Windows (#23729)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/std/os/windows.zig b/lib/std/os/windows.zig
@@ -687,6 +687,7 @@ pub fn WriteFile(
.INVALID_HANDLE => return error.NotOpenForWriting,
.LOCK_VIOLATION => return error.LockViolation,
.NETNAME_DELETED => return error.ConnectionResetByPeer,
+ .WORKING_SET_QUOTA => return error.SystemResources,
else => |err| return unexpectedError(err),
}
}