Page MenuHomeFreeBSD

w: use locale-based format specifiers
ClosedPublic

Authored by yuripv on Jun 7 2020, 10:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 14, 9:37 AM
Unknown Object (File)
Mar 7 2025, 5:43 PM
Unknown Object (File)
Feb 13 2025, 5:52 AM
Unknown Object (File)
Feb 13 2025, 3:36 AM
Unknown Object (File)
Feb 10 2025, 6:03 PM
Unknown Object (File)
Feb 9 2025, 2:50 AM
Unknown Object (File)
Feb 6 2025, 11:22 AM
Unknown Object (File)
Jan 24 2025, 5:24 PM
Subscribers

Details

Summary

Same as in ps (used the same reproducers). Use %hs instead of %s for process names/arguments. Everything else doesn't look to be localized, so I'm not touching it.

Test Plan

Use w with process list containing non-UTF-8 text.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable