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
F174134122: D49614.id.diff
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
Unknown Object (File)
Sat, Sep 19, 12:53 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 Not Applicable
Unit
Tests Not Applicable