History log of /freebsd-10-stable/contrib/top/utils.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 206842 19-Apr-2010 nwhitehorn

Fix brokenness in top on big-endian 32-bit systems introduced when
changing format_k2 to take a long long. Because itoa is defined as a K&R
C function, without prototyping its arguments, format_k2 passed a 64-bit
value, but itoa() received only the first word, showing '0' in all memory
fields.


# 205119 13-Mar-2010 brucec

Change the 'amt' parameter in format_k2 from int to unsigned long long
to match the values passed in and prevent the SIZE field being corrupted
when more than 2TB is allocated.

PR: bin/129706
Approved by: rrs (mentor)
MFC after: 1 week


# 89758 24-Jan-2002 dwmalone

Resolve conflicts.


# 37453 06-Jul-1998 bde

Fixed printf format errors.


# 24142 23-Mar-1997 joerg

Apply the FreeBSD-local patches.

Obtained from: The ports collection.


# 24140 23-Mar-1997 joerg

This commit was generated by cvs2svn to compensate for changes in r24139,
which included commits to RCS files with non-trunk default branches.


# 24139 23-Mar-1997 joerg

This is the long-awaited import of top into the base system (actually,
the src/contrib/top part right now). This tools is simply too system-
dependant to maintain it in the ports collection.