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)
Fri, Jan 24, 5:24 PM
Unknown Object (File)
Thu, Jan 23, 6:45 PM
Unknown Object (File)
Thu, Jan 23, 6:44 PM
Unknown Object (File)
Oct 10 2024, 11:38 PM
Unknown Object (File)
Oct 10 2024, 11:38 PM
Unknown Object (File)
Oct 10 2024, 11:38 PM
Unknown Object (File)
Oct 7 2024, 5:38 AM
Unknown Object (File)
Oct 4 2024, 3:51 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