| author | |
| committer | |
| log | 254ee89def29f67fdf4dd4c6a433ae876f76d79e |
| tree | 125de3cb3b9a9d60ba7ac985cfb789cf4de4f16a |
| parent | 402f967ed5339fa3d828b7fe1d57cdb5bf38dbf2 |
This was causing the Dir.readLink test to fail for me locally with error.Unexpected NTSTATUS=0xc0000022. Not sure if PRIVILEGE_NOT_HELD is actually possible or not.1 files changed, 1 insertions(+), 0 deletions(-)
lib/std/os/windows.zig+1| ... | ... | @@ -217,6 +217,7 @@ pub fn DeviceIoControl( |
| 217 | 217 | switch (rc) { |
| 218 | 218 | .SUCCESS => {}, |
| 219 | 219 | .PRIVILEGE_NOT_HELD => return error.AccessDenied, |
| 220 | .ACCESS_DENIED => return error.AccessDenied, | |
| 220 | 221 | .INVALID_PARAMETER => unreachable, |
| 221 | 222 | else => return unexpectedStatus(rc), |
| 222 | 223 | } |