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)
Tue, Nov 4, 2:25 AM
Unknown Object (File)
Sat, Nov 1, 11:33 AM
Unknown Object (File)
Sun, Oct 26, 1:19 AM
Unknown Object (File)
Sun, Oct 26, 1:19 AM
Unknown Object (File)
Sun, Oct 26, 1:19 AM
Unknown Object (File)
Sat, Oct 25, 6:55 PM
Unknown Object (File)
Fri, Oct 17, 10:32 PM
Unknown Object (File)
Oct 4 2025, 2:25 AM
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