zig/lib/std/os
Jonathan S 51c5740879 Use a specific access mask in Dir.openDirListW instead of a generic one. Untested.
The actual desired access mask in this case seems quite confusing and badly documented. The previous combination of `GENERIC_READ` and `SYNCHRONIZE` seems both illegal and redundant according to the [`ntifs.h` documentation](https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntifs-ntcreatefile), which specifies that `GENERIC_READ` should not be used for directories and includes `SYNCHRONIZE`. `winnt.h` contains a number of relevant-sounding flags such as `FILE_ADD_FILE`, `FILE_ADD_SUBDIRECTORY`, and `FILE_DELETE_CHILD` that do not show up in documentation at all. These are equal in value to file-specific flags that are documented as flags you should not specify when opening a directory.
2019-11-25 23:46:47 -05:00
..
bits Merge branch 'wasi-run-tests' of https://github.com/fengb/zig into fengb-wasi-run-tests 2019-11-25 17:53:26 -05:00
linux make std.mem.toSlice use null terminated pointers 2019-11-24 21:21:05 -05:00
uefi zig fmt 2019-11-25 13:53:13 -05:00
windows Use a specific access mask in Dir.openDirListW instead of a generic one. Untested. 2019-11-25 23:46:47 -05:00
bits.zig fixups and zig fmt 2019-11-08 01:52:23 -05:00
darwin.zig get rid of std.os.foo.is_the_target 2019-10-24 01:14:52 -04:00
dragonfly.zig DragonFlyBSD support 2019-10-30 21:21:58 -04:00
freebsd.zig get rid of std.os.foo.is_the_target 2019-10-24 01:14:52 -04:00
linux.zig string literals are now null terminated 2019-11-21 20:43:41 -05:00
netbsd.zig get rid of std.os.foo.is_the_target 2019-10-24 01:14:52 -04:00
test.zig rename std.heap.direct_allocator to std.heap.page_allocator 2019-11-25 17:25:06 -05:00
uefi.zig get rid of std.os.foo.is_the_target 2019-10-24 01:14:52 -04:00
wasi.zig move logic to the appropriate layers; add new compile error 2019-11-25 18:46:17 -05:00
windows.zig zig fmt 2019-11-25 13:53:13 -05:00
zen.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00