/[base]
ViewVC logotype

Revision 333945


Jump to revision: Previous Next
Author: eadler
Date: Sun May 20 23:19:09 2018 UTC (6 years, 1 month ago)
Changed paths: 4
Log Message:
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


Changed paths

Path Details
Directoryhead/usr.bin/top/machine.c modified , text changed
Directoryhead/usr.bin/top/machine.h modified , text changed
Directoryhead/usr.bin/top/top.c modified , text changed
Directoryhead/usr.bin/top/username.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27