zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 6c64f079fa4a80949e0721e112a77a771239752d (tree)
parent d40f204ec05d5913046c17ae46bba3b14cdaf384
Author: Vexu <15308111+Vexu@users.noreply.github.com>
Date:   Sat, 23 Nov 2019 22:06:51 +0200

add workaround to child_process.zig

Diffstat:
Mlib/std/child_process.zig | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/std/child_process.zig b/lib/std/child_process.zig @@ -259,7 +259,9 @@ pub const ChildProcess = struct { } fn handleWaitResult(self: *ChildProcess, status: u32) void { - self.term = self.cleanupAfterWait(status); + // TODO https://github.com/ziglang/zig/issues/3190 + var term = self.cleanupAfterWait(status); + self.term = term; } fn cleanupStreams(self: *ChildProcess) void {