aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/array.zig
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2022-12-22 00:46:55 -0800
committerAndrew Kelley <andrew@ziglang.org>2022-12-22 14:03:05 -0500
commit71668fc4e3c7963d3cd434888deea4700a5ab27c (patch)
tree3fc32a1befbf405d058a1872fb1940ebd2ade717 /test/behavior/array.zig
parent266e2e9a313de6345e459fe8c1fd5f647e9132eb (diff)
downloadzig-71668fc4e3c7963d3cd434888deea4700a5ab27c.tar.gz
zig-71668fc4e3c7963d3cd434888deea4700a5ab27c.zip
Dir.openDirAccessMaskW: Add ACCESS_DENIED as a possible error
Can occur when trying to open a directory for iteration but the 'List folder contents' permission of the directory is set to 'Deny'. This was found because it was being triggered during PATH searching in ChildProcess.spawnWindows if a PATH entry did not have 'List folder contents' permission, so this fixes that as well (note: the behavior on hitting this during PATH searching is to treat it as the directory not existing and therefore will fail to find any executables in a directory in the PATH without 'List folder contents' permission; this matches Windows behavior which also fails to find commands in directories that do not have 'List folder contents' permission).
Diffstat (limited to 'test/behavior/array.zig')
0 files changed, 0 insertions, 0 deletions