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
F171593169: D49614.id.diff
Fri, Sep 11, 11:57 PM
Unknown Object (File)
Fri, Sep 11, 12:27 AM
Unknown Object (File)
Wed, Sep 9, 8:16 PM
Unknown Object (File)
Wed, Sep 9, 4:44 AM
Unknown Object (File)
Tue, Sep 8, 5:45 PM
Unknown Object (File)
Tue, Sep 8, 7:39 AM
Unknown Object (File)
Tue, Sep 8, 7:36 AM
Unknown Object (File)
Mon, Sep 7, 1:37 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