From owner-freebsd-current Wed Feb 5 7: 0:22 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 517E637B401 for ; Wed, 5 Feb 2003 07:00:21 -0800 (PST) Received: from mail05.svc.cra.dublin.eircom.net (mail05.svc.cra.dublin.eircom.net [159.134.118.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 3A2AE43FA3 for ; Wed, 5 Feb 2003 07:00:20 -0800 (PST) (envelope-from pmedwards@eircom.net) Received: (qmail 74256 messnum 456626 invoked from network[159.134.237.83/otto.eircom.net]); 5 Feb 2003 15:00:15 -0000 Received: from otto.eircom.net (HELO webmail.eircom.net) (159.134.237.83) by mail05.svc.cra.dublin.eircom.net (qp 74256) with SMTP; 5 Feb 2003 15:00:15 -0000 From: "Peter Edwards" To: current@freebsd.org Subject: /bin/ps buggette Date: Wed, 5 Feb 2003 15:00:15 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Originating-IP: 62.17.151.61 X-Mailer: Eircom Net CRC Webmail (http://www.eircom.net/) Organization: Eircom Net (http://www.eircom.net/) Message-Id: <20030205150020.3A2AE43FA3@mx1.FreeBSD.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The keyword "mtxname" was changed to "logname" in the list of keywords in bin/ps/keyword.c Unfortunately, this table needs to be sorted, and the change broke the sort-order. The incredibly complex patch is included below, if someone wants to commit it. :-) Index: keyword.c =================================================================== RCS file: /pub/FreeBSD/development/FreeBSD-CVS/src/bin/ps/keyword.c,v retrieving revision 1.60 diff -u -r1.60 keyword.c --- keyword.c 19 Jan 2003 00:31:15 -0000 1.60 +++ keyword.c 5 Feb 2003 14:56:16 -0000 @@ -98,6 +98,8 @@ {"label", "LABEL", NULL, LJUST|DSIZ, label, s_label, SHRT_MAX, 0, CHAR, NULL, 0}, {"lim", "LIM", NULL, 0, maxrss, NULL, 5, 0, CHAR, NULL, 0}, + {"lockname", "LOCK", NULL, LJUST, lockname, NULL, 6, 0, CHAR, NULL, + 0}, {"login", "LOGIN", NULL, LJUST, logname, NULL, MAXLOGNAME-1, 0, CHAR, NULL, 0}, {"logname", "", "login", 0, NULL, NULL, 0, 0, CHAR, NULL, 0}, @@ -111,8 +113,6 @@ LONG, "ld", 0}, {"msgsnd", "MSGSND", NULL, USER, rvar, NULL, 4, ROFF(ru_msgsnd), LONG, "ld", 0}, - {"lockname", "LOCK", NULL, LJUST, lockname, NULL, 6, 0, CHAR, NULL, - 0}, {"mwchan", "MWCHAN", NULL, LJUST, mwchan, NULL, 6, 0, CHAR, NULL, 0}, {"ni", "", "nice", 0, NULL, NULL, 0, 0, CHAR, NULL, 0}, {"nice", "NI", NULL, 0, kvar, NULL, 2, KOFF(ki_nice), CHAR, "d", -- Peter Edwards. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message