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
Unknown Object (File)
Sat, Sep 13, 7:36 PM
Unknown Object (File)
Wed, Sep 10, 3:45 PM
Unknown Object (File)
Wed, Sep 3, 3:22 PM
Unknown Object (File)
Wed, Sep 3, 12:34 PM
Unknown Object (File)
Sat, Aug 30, 9:15 PM
Unknown Object (File)
Tue, Aug 26, 5:52 AM
Unknown Object (File)
Mon, Aug 25, 9:10 PM
Unknown Object (File)
Mon, Aug 25, 7:08 PM
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