Page MenuHomeFreeBSD

libutil: Reimplement getlocalbase()
ClosedPublic

Authored by des on Jul 20 2026, 9:07 PM.
Tags
None
Referenced Files
F174981856: D58362.diff
Wed, Oct 7, 9:03 AM
Unknown Object (File)
Wed, Oct 7, 1:22 AM
Unknown Object (File)
Sun, Oct 4, 3:49 PM
Unknown Object (File)
Sun, Oct 4, 3:33 PM
Unknown Object (File)
Sun, Oct 4, 1:12 PM
Unknown Object (File)
Mon, Sep 28, 7:01 PM
Unknown Object (File)
Mon, Sep 28, 6:58 PM
Unknown Object (File)
Sun, Sep 27, 2:32 AM
Subscribers

Details

Summary
  • Get rid of the pointless LOCALBASE_CTL_LEN mechanism
  • Apply minimal normalization to the paths obtained from the environment or sysctl variable
  • Turn the manual page into a manual page
  • Add tests

MFC after: 1 week

Diff Detail

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