diff options
| author | Georgijs <48869301+gvilums@users.noreply.github.com> | 2024-05-11 14:34:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-11 23:34:40 +0200 |
| commit | 084c2cd90f79d5e7edf76b7ddd390adb95a27f0c (patch) | |
| tree | 61d883f0611275e455ec3486d61698f8cfd18df1 /lib/std/child_process.zig | |
| parent | 8f6b1f2c38422168d29a6dd6fab61f337430e74e (diff) | |
| download | zig-084c2cd90f79d5e7edf76b7ddd390adb95a27f0c.tar.gz zig-084c2cd90f79d5e7edf76b7ddd390adb95a27f0c.zip | |
windows: use permissive file share flags everywhere (#19505)
* use permissive file share flags everywhere
* remove file_share_delete from createnamedpipefile
Diffstat (limited to 'lib/std/child_process.zig')
| -rw-r--r-- | lib/std/child_process.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/child_process.zig b/lib/std/child_process.zig index dfa8d65eff..3c1b01d3b8 100644 --- a/lib/std/child_process.zig +++ b/lib/std/child_process.zig @@ -697,7 +697,7 @@ pub const ChildProcess = struct { // "\Device\Null" or "\??\NUL" windows.OpenFile(&[_]u16{ '\\', 'D', 'e', 'v', 'i', 'c', 'e', '\\', 'N', 'u', 'l', 'l' }, .{ .access_mask = windows.GENERIC_READ | windows.GENERIC_WRITE | windows.SYNCHRONIZE, - .share_access = windows.FILE_SHARE_READ | windows.FILE_SHARE_WRITE, + .share_access = windows.FILE_SHARE_READ | windows.FILE_SHARE_WRITE | windows.FILE_SHARE_DELETE, .sa = &saAttr, .creation = windows.OPEN_EXISTING, }) catch |err| switch (err) { |
