svn commit: r183899 - user/edwin/top/top-3.8b1/usr.bin/top
Edwin Groothuis
edwin at mavetju.org
Wed Oct 15 20:48:10 UTC 2008
On Wed, Oct 15, 2008 at 10:54:58AM -0400, John Baldwin wrote:
> On Tuesday 14 October 2008 07:51:30 pm Edwin Groothuis wrote:
> > Author: edwin
> > Date: Tue Oct 14 23:51:30 2008
> > New Revision: 183899
> > URL: http://svn.freebsd.org/changeset/base/183899
> >
> > Log:
> > Display the original command between ()'s just like the old top did
> > when the command and the first argument of the command-line-arguments
> > don't match.
> >
> > According to include/sys/user.h, PS_INMEM is obsoleted in favour
> > of P_INMEM, not the other way around.
>
> This change is not quite correct. You should use P_INMEM for <= 4 and >= 7,
> and PS_INMEM for >= 5 and <= 6.
Aha, that explains the strange combination of comments I saw in the
include file and the piece of code. Thanks for spotting this!
Edwin
--
Edwin Groothuis Website: http://www.mavetju.org/
edwin at mavetju.org Weblog: http://www.mavetju.org/weblog/
More information about the svn-src-user
mailing list