From owner-cvs-src@FreeBSD.ORG Tue Jun 8 00:11:26 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A67F616A4CE; Tue, 8 Jun 2004 00:11:26 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FED043D1D; Tue, 8 Jun 2004 00:11:26 +0000 (GMT) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i580BQUI070003; Tue, 8 Jun 2004 00:11:26 GMT (envelope-from gad@repoman.freebsd.org) Received: (from gad@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i580BQ1Y069999; Tue, 8 Jun 2004 00:11:26 GMT (envelope-from gad) Message-Id: <200406080011.i580BQ1Y069999@repoman.freebsd.org> From: Garance A Drosehn Date: Tue, 8 Jun 2004 00:11:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/bin/ps ps.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 00:11:26 -0000 gad 2004-06-08 00:11:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_4) bin/ps ps.c Log: MFC *: Fix the kludge-old-options processing so `ps tpt' will be treated the same as `ps -tpt', instead of being changed into `ps -tpT'. Also adjust it so `ps t p0' is treated like `ps -t p0', instead of making it `ps -T p0'. This includes the rewrite of the kludge-option processing, but it does NOT remove the long-undocumented BACKWARD_COMPATIBILITY compile-time option. If you delete the '#define BACKWARD_COMPATIBILITY' line, you'll get the newer handling for "extra arguments", which is to treat them as requests for processes. Also brings in a number of style(9) improvements. [* = 1.90 & 1.92 -> 1.98 ps.c] PR: bin/52489 (for `ps tpt' and `ps t p0') Submitted by: Jilles Tjoelker ( " ) Revision Changes Path 1.30.2.15 +126 -107 src/bin/ps/ps.c