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 3, 4:27 AM
Unknown Object (File)
Sat, Oct 3, 4:10 AM
Unknown Object (File)
Mon, Sep 7, 11:55 PM
Unknown Object (File)
Sep 1 2026, 11:07 PM
Unknown Object (File)
Sep 1 2026, 5:07 PM
Unknown Object (File)
Aug 29 2026, 8:37 PM
Unknown Object (File)
Aug 22 2026, 12:35 AM
Unknown Object (File)
Aug 19 2026, 8:41 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