freebsd-dev/usr.bin/top
Rui Paulo 78210af90c Use the correct size when allocating the cmdbuf string.
cmdlengthdelta is the size of the header and we were using it to
allocate a buffer to store the command line. This would mean that
the cmdbuf could be too short. In practice this was never noticed unless
you usually run top -a. On a stock FreeBSD system you can see the
problem by running sendmail and then running top -a on a big terminal
window. In practice this doubles to size available to cmdbuf since the
header is around 65-68 bytes.

Reviewed by:	adrian
2012-11-19 08:03:40 +00:00
..
machine.c Use the correct size when allocating the cmdbuf string. 2012-11-19 08:03:40 +00:00
Makefile Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
top.local.1 Add a new line to top that provides a brief summary of the ZFS ARC memory 2012-06-27 18:08:48 +00:00