diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-06 12:14:58 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-06 14:56:36 -0300 |
| commit | 60dd9514c8676e79c625948b5e9d2c6d745e8e87 (patch) | |
| tree | 9c8009a5f47314ccd6e98b1a001e965ecb0b6444 /src/main.zig | |
| parent | 4839c4b037d401393bbc87143d663e115c71242e (diff) | |
| download | pardes-60dd9514c8676e79c625948b5e9d2c6d745e8e87.tar.gz pardes-60dd9514c8676e79c625948b5e9d2c6d745e8e87.zip | |
idioms #3, the allocator a function is handed: Handover.carries opens its dump with the caller's gpa, not the page allocator, and Client.follow and stepGlide lose the gpa they never used
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig index 68542b3e..5cbfa7f4 100644 --- a/src/main.zig +++ b/src/main.zig @@ -246,7 +246,7 @@ fn waitForDel(gpa: std.mem.Allocator, dial: []const u8, path: []const u8, known: } }; const w: Wait = .{ .gpa = gpa, .dial = dial, .serial = serial }; - ninep_io.Client.follow(gpa, dial, "/log", "follow new", &w, Wait.gone, Wait.deleted) catch std.process.exit(1); + ninep_io.Client.follow(dial, "/log", "follow new", &w, Wait.gone, Wait.deleted) catch std.process.exit(1); std.process.exit(0); } |
