From owner-freebsd-alpha Tue Nov 24 05:37:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA23472 for freebsd-alpha-outgoing; Tue, 24 Nov 1998 05:37:37 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from mail.sat.t.u-tokyo.ac.jp (dryad.sat.t.u-tokyo.ac.jp [133.11.156.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA23466 for ; Tue, 24 Nov 1998 05:37:35 -0800 (PST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.156.43]) by mail.sat.t.u-tokyo.ac.jp (8.8.6/3.4Wbeta6-SAT1.0) with ESMTP id WAA01837; Tue, 24 Nov 1998 22:37:33 +0900 (JST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from localhost by ett.sat.t.u-tokyo.ac.jp (8.8.8/sat-V0.6) id WAA14195; Tue, 24 Nov 1998 22:37:32 +0900 (JST) To: dfr@nlsystems.com Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: ps and top on alpha In-Reply-To: Your message of "Tue, 24 Nov 1998 11:39:22 +0000 (GMT)" References: X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7:#j7i14gu$ jgR\S*&C3R/pJX Date: Tue, 24 Nov 1998 22:37:31 +0900 From: Hidetoshi Shimokawa X-Dispatcher: imput version 980905(IM100) Lines: 27 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org dfr> Its good to hear from you again! Thanks for this, top has needed someone dfr> to look at it for a while. I'll commit the fix as soon as I get a chance dfr> to test it (probably not until tomorrow). I got a 164LX machine last week :-) We need anothor patch to fix the sorting order of top. /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: finger -l simokawa@sat.t.u-tokyo.ac.jp Index: machine.c =================================================================== RCS file: /pub/FreeBSD-CVS/src/usr.bin/top/machine.c,v retrieving revision 1.15 diff -u -r1.15 machine.c --- machine.c 1998/09/11 14:38:12 1.15 +++ machine.c 1998/11/24 13:23:20 @@ -734,7 +734,7 @@ #define ORDERKEY_PCTCPU \ - if (lresult = PP(p2, p_pctcpu) - PP(p1, p_pctcpu), \ + if (lresult = (long) PP(p2, p_pctcpu) - (long) PP(p1, p_pctcpu), \ (result = lresult > 0 ? 1 : lresult < 0 ? -1 : 0) == 0) #define ORDERKEY_CPTICKS \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message