freebsd-dev/usr.bin/top
Eitan Adler 4b9ca404c5 top(1): set max username length based on system constant
This changes previous behavior of calculating it at startup based on
the current max username length.

This is done because:
- it is in theory possible for the max length to change at run-time
  (e.g., a new user is added after top starts running)
- on machines with many users this delays startup significantly

PR:		20799
PR:		89762
Reported by:	ob@e-Gitt.NET
Reported by:	wkwu@Kavalan.csie.NCTU.edu.tw
Reported on:	2000-08-23 and 2005-11-30
2018-05-20 23:19:09 +00:00
..
boolean.h top(1): Migrate top to usr.bin 2018-05-19 22:40:23 +00:00
commands.c top(1): Quiesce several warnings 2018-05-20 02:14:27 +00:00
commands.h top(1): Migrate top to usr.bin 2018-05-19 22:40:23 +00:00
display.c top(1): remove use of 'register' keyword 2018-05-20 01:32:27 +00:00
display.h top(1): Migrate top to usr.bin 2018-05-19 22:40:23 +00:00
layout.h top(1): Migrate top to usr.bin 2018-05-19 22:40:23 +00:00
loadavg.h top(1): Migrate top to usr.bin 2018-05-19 22:40:23 +00:00
machine.c top(1): set max username length based on system constant 2018-05-20 23:19:09 +00:00
machine.h top(1): set max username length based on system constant 2018-05-20 23:19:09 +00:00
Makefile revert r333928 2018-05-20 18:02:40 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
prime.c top(1): Migrate top to usr.bin 2018-05-19 22:40:23 +00:00
screen.c top(1): unconditionally assume we are on FreeBSD (more unifdef) 2018-05-20 18:11:58 +00:00
screen.h top(1): Migrate top to usr.bin 2018-05-19 22:40:23 +00:00
sigconv.awk top(1): be constant in a structure 2018-05-20 01:30:19 +00:00
top.1 top(1): Make lack of "percent" information explicit 2018-05-20 17:59:59 +00:00
top.c top(1): set max username length based on system constant 2018-05-20 23:19:09 +00:00
top.h top(1): Quiesce several warnings 2018-05-20 02:14:27 +00:00
top.local.hs revert r333928 2018-05-20 18:02:40 +00:00
top.xs revert r333928 2018-05-20 18:02:40 +00:00
username.c top(1): set max username length based on system constant 2018-05-20 23:19:09 +00:00
username.h top(1): Migrate top to usr.bin 2018-05-19 22:40:23 +00:00
utils.c top(1): Quiesce several warnings 2018-05-20 02:14:27 +00:00
utils.h top(1): Quiesce several warnings 2018-05-20 02:14:27 +00:00