diff options
Diffstat (limited to 'src/host_io.zig')
| -rw-r--r-- | src/host_io.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/host_io.zig b/src/host_io.zig index d199c839..cadcc1d2 100644 --- a/src/host_io.zig +++ b/src/host_io.zig @@ -5,11 +5,11 @@ const posix = std.posix; const libc = std.c; const pardes = @import("pardes.zig"); const selection_pipe = @import("selection_pipe.zig"); -const ninep_io = @import("9p_io.zig"); +const ninep_io = @import("runtime").ninep_io; const filesystem = @import("fs.zig"); const file_watch = @import("file_watch.zig"); const replica = @import("replica.zig"); -const daemon = @import("daemon.zig"); +const daemon = @import("runtime").daemon; const panes = @import("panes.zig"); pub const Host = struct { @@ -1195,7 +1195,7 @@ pub const Shell = struct { const pid = rcPid(name) orelse continue; // This pid's are this process's, but in an upgraded one: those // were its old image's (upgrade.zig), and its own come after. - if (pid == std.c.getpid() and @import("upgrade.zig").resumed == null) continue; + if (pid == std.c.getpid() and @import("runtime").upgrade.resumed == null) continue; if (pid != std.c.getpid() and std.posix.errno(std.c.kill(pid, @fromBackingInt(@intCast(0)))) != .SRCH) continue; if (name.len >= 64 or n == dead.len) continue; @memcpy(dead[n][0..name.len], name); @@ -2188,7 +2188,7 @@ pub fn forkShell( ninep_io.setCloexec(master); // The daemon keeps a dup: this session killed outright never hangs the // shell up (daemon.zig). - @import("daemon.zig").pty(pid, master); + @import("runtime").daemon.pty(pid, master); if (core) |c| c.acknowledgeShell(pane, std.mem.span(spawn.path), one_line == null and spawn.argv[1] != null); return .{ .file = .{ .handle = master, .flags = .{ .nonblocking = false } }, .pid = pid }; } |
