summaryrefslogtreecommitdiff
path: root/src/fs.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 11:36:01 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:16 -0300
commit05118f216d524c96ffe936e494b8ecce26303de1 (patch)
treee67fe916801ef58d32cd04988240571cae8f8a49 /src/fs.zig
parent35f06a55bad1891e3d5e779630b232b2c322bc83 (diff)
downloadpardes-05118f216d524c96ffe936e494b8ecce26303de1.tar.gz
pardes-05118f216d524c96ffe936e494b8ecce26303de1.zip
A builtin's Verbose announcement is the message row's alone, never logged
With Verbose on by default, /log filled with msg - DumpDir, msg 4 Grep and the like, with machinery to take an announcement back out when its builtin failed or said something itself. A msg record is now only something said; the take-back machinery goes with it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/fs.zig')
-rw-r--r--src/fs.zig7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/fs.zig b/src/fs.zig
index 6feaa972..5d7d68e8 100644
--- a/src/fs.zig
+++ b/src/fs.zig
@@ -1308,11 +1308,6 @@ pub const Namespace = struct {
header_held: bool = false,
late_failure: [256]u8 = undefined,
late_failure_len: u16 = 0,
- /// The log record of the last Verbose announcement (`msg <serial>
- /// <Word>`) and its word: a failure of that builtin, now or when its
- /// host work fails (a Save, a Dump), takes it back out of the log, so
- /// an announcement stands only for a builtin that did what it said.
- announced_seq: ?u64 = null,
/// The serial of the pane the root's exec or look last ran a line at
/// (the keyboard's), 0 before one: its err record names that pane.
ran_at: u32 = 0,
@@ -1322,8 +1317,6 @@ pub const Namespace = struct {
/// Every failure said (Messages.reportFailure), counted: a builtin
/// that said one while it ran failed.
failures: u32 = 0,
- announced_word: [32]u8 = undefined,
- announced_word_len: u8 = 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,