Date: Tue, 8 Jun 2004 00:11:26 +0000 (UTC) From: Garance A Drosehn <gad@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ps ps.c Message-ID: <200406080011.i580BQ1Y069999@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406080011.i580BQ1Y069999>