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)
Mon, Mar 2, 4:47 PM
Unknown Object (File)
Tue, Feb 24, 4:01 PM
Unknown Object (File)
Mon, Feb 23, 3:30 PM
Unknown Object (File)
Sat, Feb 21, 6:10 PM
Unknown Object (File)
Sun, Feb 8, 7:21 AM
Unknown Object (File)
Sun, Feb 8, 1:04 AM
Unknown Object (File)
Jan 31 2026, 1:36 PM
Unknown Object (File)
Jan 20 2026, 4:22 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