diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-09 03:29:30 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-09 03:30:37 -0300 |
| commit | 446292e15d56c9c248dae5d6fde1be3a83ade82e (patch) | |
| tree | 859d8be8a92a18011034e614324fa1af5c99139e /src/Store.zig | |
| parent | aabbccba49772cf73c7e35ae470245e9fda9d6ff (diff) | |
| download | pardes-446292e15d56c9c248dae5d6fde1be3a83ade82e.tar.gz pardes-446292e15d56c9c248dae5d6fde1be3a83ade82e.zip | |
idioms: the 9P tree's swallows decided: a directory read stages every entry or answers ENOMEM (stageDirent and sources.stage return error{OutOfMemory}, readdir's entries made by stageDir, an /os listing whose buffer fills ends there), a pane's tag read through tagOf fails by name (a read or an event write answers ENOMEM, a stat's length and ctl's line say 0), a pane that cannot close (removePane's nine swallowing callers) and a /pager text that cannot go in (fillClosedPagers) are said on their pane, and Queue.push says once why a lost record is not said
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/Store.zig')
| -rw-r--r-- | src/Store.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Store.zig b/src/Store.zig index 61678be6..8b8db030 100644 --- a/src/Store.zig +++ b/src/Store.zig @@ -212,7 +212,7 @@ pub fn reopen(s: *Store, p: *Pardes, serial: u32, from: usize) bool { false; if (!placed) exec.placeNew(p, from, from, free, .doc); if (layout.findPane(p, free) == null) { - p.removePane(free, null) catch {}; + p.removePane(free, null) catch |err| p.reportError(from, "reopen", err); return false; } // No room anywhere: refused, it closes at the step's end, still listed. |
