diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-03 16:03:21 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-03 16:03:21 -0300 |
| commit | b2074ff6b2e822886cecfc81789e7fa504d05580 (patch) | |
| tree | 146c43a285a625ef73b8b68fb0db30899f5b4e4b /test/unit_profile.zig | |
| parent | e7cc89761e693833fe3fcabf022408741cf87709 (diff) | |
| download | pardes-b2074ff6b2e822886cecfc81789e7fa504d05580.tar.gz pardes-b2074ff6b2e822886cecfc81789e7fa504d05580.zip | |
grep: one file it cannot read is not the end of the search
`look.grep` aborted the whole walk and returned `OpenFailed` the moment any
file refused to open. One root-owned 0600 file in the tree — or one deleted
between the walk and the read, which is routine in a build tree — turned a
search of ten thousand files into zero results and a word on the message row
that explains nothing. A grep is a question about the files you can read, and
the ones you cannot are not an answer to it: they are skipped now, along with
a read that fails partway.
Opened NONBLOCK for the reason readFile has it, so a FIFO in the tree cannot
stop the search until somebody writes to it.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_016Q4RATpafkwahrovHQLKRf
Diffstat (limited to 'test/unit_profile.zig')
0 files changed, 0 insertions, 0 deletions
