Date: Tue, 24 Nov 1998 22:37:31 +0900 From: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> To: dfr@nlsystems.com Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: ps and top on alpha Message-ID: <19981124223731A.simokawa@sat.t.u-tokyo.ac.jp> In-Reply-To: Your message of "Tue, 24 Nov 1998 11:39:22 %2B0000 (GMT)" <Pine.BSF.4.01.9811241136530.21711-100000@herring.nlsystems.com> References: <Pine.BSF.4.01.9811241136530.21711-100000@herring.nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981124223731A.simokawa>