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, Oct 4, 10:44 AM
Unknown Object (File)
Sep 13 2025, 7:36 PM
Unknown Object (File)
Sep 10 2025, 3:45 PM
Unknown Object (File)
Sep 3 2025, 3:22 PM
Unknown Object (File)
Sep 3 2025, 12:34 PM
Unknown Object (File)
Aug 30 2025, 9:15 PM
Unknown Object (File)
Aug 26 2025, 5:52 AM
Unknown Object (File)
Aug 25 2025, 9:10 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