Page MenuHomeFreeBSD

quot: Rewrite -n mode input parser
ClosedPublic

Authored by des on Nov 13 2025, 10:27 AM.
Tags
None
Referenced Files
F175761809: D53726.diff
Tue, Oct 13, 3:34 AM
F175704957: D53726.id166346.diff
Mon, Oct 12, 3:57 PM
F175703807: D53726.diff
Mon, Oct 12, 3:46 PM
Unknown Object (File)
Sat, Oct 3, 7:59 PM
Unknown Object (File)
Thu, Sep 24, 1:13 PM
Unknown Object (File)
Thu, Sep 24, 11:26 AM
Unknown Object (File)
Thu, Sep 24, 6:38 AM
Unknown Object (File)
Sep 4 2026, 6:27 PM
Subscribers

Details

Summary

The existing parser was needlessly complicated and wildly inconsistent
in how it handled invalid input. Rewrite using getline() and treat
invalid input consistently: silently ignore lines that don't begin with
a number, and print a warning if the inode number is out of range.

PR: 290992
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable