Skip to content

Commit b89b498

Browse files
committed
fix windows
1 parent df6ed94 commit b89b498

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/std/child_process.zig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -901,8 +901,8 @@ pub const ChildProcess = struct {
901901
&saAttr,
902902
PipeDirection.child_to_parent,
903903
);
904-
g_hChildStd_OUT_Rd.* = tmp_hChildStd_Rd.*;
905-
g_hChildStd_OUT_Wr.* = tmp_hChildStd_Wr.*;
904+
g_hChildStd_OUT_Rd = tmp_hChildStd_Rd;
905+
g_hChildStd_OUT_Wr = tmp_hChildStd_Wr;
906906
},
907907
StdIo.Ignore => {
908908
g_hChildStd_OUT_Wr = nul_handle;
@@ -928,8 +928,8 @@ pub const ChildProcess = struct {
928928
&saAttr,
929929
PipeDirection.child_to_parent,
930930
);
931-
g_hChildStd_ERR_Rd.* = tmp_hChildStd_Rd.*;
932-
g_hChildStd_ERR_Wr.* = tmp_hChildStd_Wr.*;
931+
g_hChildStd_ERR_Rd = tmp_hChildStd_Rd;
932+
g_hChildStd_ERR_Wr = tmp_hChildStd_Wr;
933933
},
934934
StdIo.Ignore => {
935935
g_hChildStd_ERR_Wr = nul_handle;
@@ -1507,8 +1507,8 @@ var pipe_name_counter = std.atomic.Atomic(u32).init(1);
15071507
/// in the security attributes.
15081508
/// Direction defines which handle is updated (to enable inheritance by ChildProcess)
15091509
pub fn windowsMakeAsyncPipe(
1510-
rd: *?windows.HANDLE,
1511-
wr: *?windows.HANDLE,
1510+
rd: *windows.HANDLE,
1511+
wr: *windows.HANDLE,
15121512
sattr: *const windows.SECURITY_ATTRIBUTES,
15131513
direction: ChildProcess.PipeDirection,
15141514
) !void {

0 commit comments

Comments
 (0)