diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2022-12-22 00:46:55 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-12-22 14:03:05 -0500 |
| commit | 71668fc4e3c7963d3cd434888deea4700a5ab27c (patch) | |
| tree | 3fc32a1befbf405d058a1872fb1940ebd2ade717 /test/behavior/array.zig | |
| parent | 266e2e9a313de6345e459fe8c1fd5f647e9132eb (diff) | |
| download | zig-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
