From owner-cvs-all Tue Nov 16 19:25:58 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0E62D14A16; Tue, 16 Nov 1999 19:25:56 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: (from bde@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA54398; Tue, 16 Nov 1999 19:25:55 -0800 (PST) (envelope-from bde@FreeBSD.org) Message-Id: <199911170325.TAA54398@freefall.freebsd.org> From: Bruce Evans Date: Tue, 16 Nov 1999 19:25:55 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/top machine.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk bde 1999/11/16 19:25:55 PST Modified files: usr.bin/top machine.c Log: Fixed sorting on time. On i386's, time differences of more than 2147 seconds caused overflow. Use a type-safe but slightly slower comparison. Comparisons for other fields are still fragile. Fixed rounding of cputime (don't do extra work to get it slightly wrong by first converting without rounding to milliseconds). Removed dead code for setting cputime. Fixed comments about cputime. Revision Changes Path 1.28 +10 -10 src/usr.bin/top/machine.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message