Bug 18951

Summary: top sorting error
Product: Base System Reporter: dwmalone <dwmalone>
Component: binAssignee: dwmalone
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description dwmalone 2000-06-01 18:20:01 UTC
Top can incorrectly sort things, as many of it assumes things will
fit into an int. One of these was fixed by bde in -current, but
the fix didn't make it back to stable.

Fix: Either MFC 1.28, or the following patch would future proof top, at
the cost of a few CPU cycles. (for /usr/src/usr.bin/top/machine.h)

How-To-Repeat: 
Start top and then use "o time". Sometimes the processes will be out
of order.
Comment 1 dwmalone freebsd_committer freebsd_triage 2000-07-11 12:27:22 UTC
Responsible Changed
From-To: freebsd-bugs->dwmalone

My PR.
Comment 2 dwmalone freebsd_committer freebsd_triage 2000-07-14 21:04:17 UTC
State Changed
From-To: open->closed

Merged version 1.28 to RELENG_3.