Page MenuHomeFreeBSD

ps(1): Constify the format strings for canned displays
ClosedPublic

Authored by olce on Apr 1 2025, 1:38 PM.
Tags
None
Referenced Files
F174414285: D49614.id.diff
Sat, Oct 3, 12:50 AM
Unknown Object (File)
Wed, Sep 30, 8:18 PM
Unknown Object (File)
Mon, Sep 28, 7:49 PM
Unknown Object (File)
Sun, Sep 27, 6:58 PM
Unknown Object (File)
Sat, Sep 26, 1:14 PM
Unknown Object (File)
Thu, Sep 24, 11:45 AM
Unknown Object (File)
Tue, Sep 22, 8:35 PM
Unknown Object (File)
Tue, Sep 22, 10:53 AM
Subscribers

Details

Summary

Now that removal of non-explicitly-requested duplicate columns work with
a O(n) algorithm, remove the optimization of crushing the canned
displays' formats after first use and constify their format strings.

No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63256
Build 60140: arc lint + arc unit