Page MenuHomeFreeBSD

libutil: Reimplement getlocalbase()
ClosedPublic

Authored by des on Jul 20 2026, 9:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 18, 9:07 AM
Unknown Object (File)
Wed, Sep 9, 3:24 PM
Unknown Object (File)
Wed, Sep 9, 9:59 AM
Unknown Object (File)
Mon, Sep 7, 8:08 AM
Unknown Object (File)
Sat, Sep 5, 1:57 PM
Unknown Object (File)
Sun, Aug 30, 6:09 AM
Unknown Object (File)
Fri, Aug 28, 12:25 PM
Unknown Object (File)
Fri, Aug 28, 1:05 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