HomeFreeBSD

top: Make locale issues non-fatal.

Description

top: Make locale issues non-fatal.

If the setlocale() call fails, emit a warning and sleep briefly so the
user has a chance to see the warning before we redraw the screen. Note
that we have no way of knowing exactly what is wrong, but at least we
can suggest that they check their environment.

MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D49230

Details

Provenance
desAuthored on Thu, Mar 6, 1:43 PM
Reviewer
kevans
Differential Revision
D49230: top: Make locale issues non-fatal.
Parents
rG04207850a9b9: pfkey2: use correct value for a key length
Branches
Unknown
Tags
Unknown