aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorJonathan Marler <johnnymarler@gmail.com>2024-03-13 18:39:20 -0700
committerGitHub <noreply@github.com>2024-03-13 21:39:20 -0400
commit32f602ad167e90825ef1f980046a7611cfcfb5fe (patch)
tree82f2eac428620e992caba8031953561b4f8e25a8 /src/Module.zig
parent2008b14bc76b54f29b07e8570a094c17aefea9d5 (diff)
downloadzig-32f602ad167e90825ef1f980046a7611cfcfb5fe.tar.gz
zig-32f602ad167e90825ef1f980046a7611cfcfb5fe.zip
std.os.windows: handle OBJECT_NAME_INVALID in OpenFile (#19288)
It's been seen on Windows 11 (22H2) Build 22621.3155 that NtCreateFile will return the OBJECT_NAME_INVALID error code with certain path names. The path name we saw this with started with `C:Users` (rather than `C:\Users`) and also contained a `$` character. This PR updates our OpenFile wrapper to propagate this error code as `error.BadPathName` instead of making it `unreachable`. see https://github.com/marler8997/zigup/issues/114#issuecomment-1994420791
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions