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)
Sat, Oct 4, 2:25 AM
Unknown Object (File)
Aug 31 2025, 5:29 AM
Unknown Object (File)
Aug 31 2025, 5:27 AM
Unknown Object (File)
Aug 30 2025, 8:01 AM
Unknown Object (File)
Aug 3 2025, 7:41 AM
Unknown Object (File)
Aug 2 2025, 7:47 PM
Unknown Object (File)
Jul 26 2025, 7:51 AM
Unknown Object (File)
Jul 22 2025, 1:58 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