diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-28 17:27:30 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:15 -0300 |
| commit | 63d584a0ba7806759f7139e87f45e411c9a1573d (patch) | |
| tree | 00ec42e25dfcc0497162511041cc88d757ff9190 /src/fs.zig | |
| parent | cf45be79a5ab96d3b81078e7e5e2ba58bd5e5cee (diff) | |
| download | pardes-63d584a0ba7806759f7139e87f45e411c9a1573d.tar.gz pardes-63d584a0ba7806759f7139e87f45e411c9a1573d.zip | |
A Save the host cannot do fails the 9P write that asked for it, and the log names the path and why
The write answered ok and the pane stayed dirty, with `save: AccessDenied` on its message row: a script saw success. The failure now says `Save <path>: <why>`, and a 9P write that waited on the save fails with EIO and that text, logged as an err record.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/fs.zig')
| -rw-r--r-- | src/fs.zig | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1263,6 +1263,11 @@ pub const Namespace = struct { refused: bool = false, failure: [256]u8 = undefined, failure_len: u16 = 0, + /// What went wrong performing a write's effects after it was answered + /// by the core (a save the host could not do): the 9P write, which + /// waits for them, fails with it (src/9p_io.zig). + late_failure: [256]u8 = undefined, + late_failure_len: u16 = 0, /// A refusal that quotes the message it refuses, as Plan 9's cmderror /// does (kernel/misc/parse.c:82); answered at once (src/9p_io.zig). ename: [320]u8 = undefined, |
