diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 23:20:19 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 23:22:39 -0300 |
| commit | dd6a3c2c367cee12a8e2da81e7da6a2c8f3103d5 (patch) | |
| tree | 3c2acaf6836af9c52b7cfbf201a2c1b533512d10 /src/Messages.zig | |
| parent | e4562384ac910b78254ec7aaaecad8b74717f2ee (diff) | |
| download | pardes-dd6a3c2c367cee12a8e2da81e7da6a2c8f3103d5.tar.gz pardes-dd6a3c2c367cee12a8e2da81e7da6a2c8f3103d5.zip | |
Round 39's small ones: a name write past its one line is refused by that write; Get and Edit's e load over a scratch under 100 bytes unasked, as Del closes it; Putall saves a Zerox pair once; bare Tab on the root ctl says the width as from a pane, and a ctl check of Tab no longer sets it; a directory read is "is a directory" (EISDIR), an unreadable file "permission denied" (EACCES), Incl of a file "not a directory" (ENOTDIR), and a device "not a regular file", never read to the stream limit
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/Messages.zig')
| -rw-r--r-- | src/Messages.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Messages.zig b/src/Messages.zig index 366445c7..2314939f 100644 --- a/src/Messages.zig +++ b/src/Messages.zig @@ -498,6 +498,9 @@ pub fn errorWords(err: anyerror, buf: []u8) []const u8 { return switch (err) { error.FileTooLarge => "too large", error.NotAFile => "not a regular file", + // In the words a mount turns into EISDIR and EACCES (cloud9.fs.enameErrno). + error.IsDirectory => "is a directory", + error.PermissionDenied, error.AccessDenied => "permission denied", error.ReadFailed => "could not be read", error.ParseZon => "not valid ZON", error.ThemeFileTooLarge => "too large: a theme file is at most 1 MiB", |
