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
F153264137: D49614.id152974.diff
Mon, Apr 20, 3:29 AM
Unknown Object (File)
Sat, Apr 18, 2:01 AM
Unknown Object (File)
Mar 2 2026, 4:47 PM
Unknown Object (File)
Feb 24 2026, 4:01 PM
Unknown Object (File)
Feb 23 2026, 3:30 PM
Unknown Object (File)
Feb 21 2026, 6:10 PM
Unknown Object (File)
Feb 8 2026, 7:21 AM
Unknown Object (File)
Feb 8 2026, 1:04 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 Not Applicable
Unit
Tests Not Applicable