graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
presence: fix the fix — std.posix has no close in this std
Rach Pradhanf5ac04f48b11
diff --git a/src/proc_identity.zig b/src/proc_identity.zigindex f5607a9f..aca24d5b 100644--- a/src/proc_identity.zig+++ b/src/proc_identity.zig@@ -155,7 +155,7 @@ fn probeLinux(io: Io, pid: i32) Probe {error.FileNotFound => return .gone,else => return .unknown,};- defer std.posix.close(fd);+ defer _ = std.posix.system.close(fd); // raw syscall wrapper (no std.posix.close in this std); returns usize, not an errorvar buf: [4096]u8 = undefined;const n = std.posix.read(fd, &buf) catch return .unknown;return if (parseLinuxStat(buf[0..n])) |v| .{ .id = v } else .unknown;