diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 09:40:43 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 09:54:56 -0300 |
| commit | acae35d08598b10a7f3bb8620d8e04eaa02833b2 (patch) | |
| tree | 4cbc0ae35d1886aae36df3fbc057cafa0416598b /src/macos.zig | |
| parent | e32f749c80468b9e2fc79eb068f7088527a9c504 (diff) | |
| download | pardes-acae35d08598b10a7f3bb8620d8e04eaa02833b2.tar.gz pardes-acae35d08598b10a7f3bb8620d8e04eaa02833b2.zip | |
after the processes merge: the QUIC remnants go (9p_io.quic_enabled and Options.ninep_quic, read by nothing once --9p-quic left main.zig); forkShell's fs argument goes from its signature and every caller (tui, gui, macos and the tests), as exportEnv takes this process's own socket; rollback's note on the frame statistics says what they are now
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/macos.zig')
| -rw-r--r-- | src/macos.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macos.zig b/src/macos.zig index af8410e0..147930c0 100644 --- a/src/macos.zig +++ b/src/macos.zig @@ -1316,7 +1316,7 @@ test "mac Restore cancels a PTY reader waiting for output capacity" { while (st.core.nextEffect()) |_| {} st.inbox.acceptReader(1, 1); for (0..Inbox.output_capacity) |_| _ = st.inbox.pushOutput(1, 1, try gpa.dupe(u8, "retained output")); - const child = try host_io.forkShell(null, 0, &st.prompt_rcs, "/bin/sh", "", 12, 40, null); + const child = try host_io.forkShell(null, 0, &st.prompt_rcs, "/bin/sh", "", 12, 40); st.gens[0] = 1; st.ptys[0] = .{ .file = child.file, .pid = child.pid, .gen = 1, .reader = .{ .any_future = null, .result = {} } }; defer { @@ -2151,7 +2151,7 @@ fn spawnShell(ctx: ?*anyopaque, pane: u8, cwd: []const u8) void { // The new shell starts before a running one goes: one that cannot // start leaves the running one be (pty/ctl's exec). const running = st.ptys[pane] != null; - const child = host_io.forkShell(core, pane, &st.prompt_rcs, core.shellBin(), cwd, core.screen_h, core.screen_w, st.ninep) catch |err| { + const child = host_io.forkShell(core, pane, &st.prompt_rcs, core.shellBin(), cwd, core.screen_h, core.screen_w) catch |err| { if (running) return core.restartFailed(pane, err); return core.shellFailed(pane, err); }; |
