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
F163991117: D49614.id.diff
Mon, Jul 27, 5:00 PM
Unknown Object (File)
Mon, Jul 20, 4:19 AM
Unknown Object (File)
Sat, Jul 18, 12:07 PM
Unknown Object (File)
Thu, Jul 16, 11:18 AM
Unknown Object (File)
Tue, Jul 14, 9:57 AM
Unknown Object (File)
Thu, Jul 9, 10:56 PM
Unknown Object (File)
Jun 26 2026, 6:20 AM
Unknown Object (File)
Jun 24 2026, 8:28 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