opnsense-src/usr.bin/top
Dag-Erling Smørgrav 180065eb09 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
2025-03-06 14:59:23 +01:00
..
commands.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
commands.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
display.c usr.bin/top: fix displaying load average for loads of at least 100 2024-05-22 16:47:46 +02:00
display.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
layout.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
loadavg.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
machine.c top: Avoid printing a blank line when the ZFS ARC is empty 2024-01-11 10:01:37 -05:00
machine.h Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:23 -06:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
screen.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
screen.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
top.1 Remove $FreeBSD$: one-line nroff pattern 2023-08-16 11:55:15 -06:00
top.c top: Make locale issues non-fatal. 2025-03-06 14:59:23 +01:00
top.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
username.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
username.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
utils.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
utils.h Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:23 -06:00