summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/9p.zig4
-rw-r--r--runtime/daemon.zig2
-rw-r--r--runtime/main.zig4
3 files changed, 5 insertions, 5 deletions
diff --git a/runtime/9p.zig b/runtime/9p.zig
index 61715750..67bfe900 100644
--- a/runtime/9p.zig
+++ b/runtime/9p.zig
@@ -26,7 +26,7 @@ pub const errmax = cloud9.fs.errmax;
pub const errString = cloud9.fs.errString;
pub const msize_min = cloud9.fs.msize_min;
-/// The smallest msize a native listener offers (src/9p_io.zig).
+/// The smallest msize a native listener offers (runtime/9p_io.zig).
pub const min_msize: u32 = 4096;
/// What a native listener negotiates.
pub const msize: u32 = 65536;
@@ -34,7 +34,7 @@ pub const msize: u32 = 65536;
/// The editor's engine: native fid count, native file names, and room to
/// park a write of any size a frame can carry -- a request that would change
/// a pane while the editor is out in a syscall waits in the engine
-/// (src/9p_io.zig, `serve`), and a write it cannot keep would fail instead.
+/// (runtime/9p_io.zig, `serve`), and a write it cannot keep would fail instead.
/// The largest write is msize less the Twrite header, 23 bytes (the test
/// below asks a client), one byte more than `iohdrsz` allows for.
/// Up to 128 reads held on one connection (a follower each of the log or
diff --git a/runtime/daemon.zig b/runtime/daemon.zig
index 4f770a3a..0d860918 100644
--- a/runtime/daemon.zig
+++ b/runtime/daemon.zig
@@ -402,7 +402,7 @@ pub const Note = union(enum) {
/// stub's pipe; for a window session, both -1: open a window.
attach: struct { tty: c_int, stub: c_int },
adopted: struct { pids: [max_fds]libc.pid_t, fds: [max_fds]c_int, n: usize },
- /// A replica's connection, its hello taken (src/replica.zig `Peers`),
+ /// A replica's connection, its hello taken (core/replica.zig `Peers`),
/// and the view it joins again for, if it does.
replica: Joining,
};
diff --git a/runtime/main.zig b/runtime/main.zig
index 61e9f3fd..11aceaeb 100644
--- a/runtime/main.zig
+++ b/runtime/main.zig
@@ -1114,7 +1114,7 @@ fn parseCtrlKey(raw: []const u8) ?u21 {
fn nativeMain(std_init: std.process.Init) !void {
var init = std_init;
if (builtin.mode != .debug) init.gpa = pardes.memory.host(std.heap.c_allocator);
- // A recorded session's tape replayed, no session of its own (src/tape.zig).
+ // A recorded session's tape replayed, no session of its own (core/tape.zig).
if (init.environ_map.get("PARDES_REPLAY")) |tape| std.process.exit(pardes.tape.replayMain(tape));
var stderr_probe: [64]u8 = undefined;
_ = std.debug.lockStderr(&stderr_probe);
@@ -1917,7 +1917,7 @@ test {
_ = pardes.config.User;
// The rest this block collected is collected where it lives now: the
// runtime's files by runtime/root.zig's test block, the core's by
- // pardes.zig's, the devices' (the frontends) by dev/root.zig's. The
+ // core/root.zig's, the devices' (the frontends) by dev/root.zig's. The
// window stays named: its C's allocator (ui_malloc and the rest) is
// gui.zig's.
if (comptime pardes.platform == .tui) {