Subject: PR/36295 CVS commit: [netbsd-4] src/bin/ps
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Liam J. Foy <liamjfoy@netbsd.org>
List: netbsd-bugs
Date: 07/30/2007 12:50:02
The following reply was made to PR bin/36295; it has been noted by GNATS.
From: "Liam J. Foy" <liamjfoy@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/36295 CVS commit: [netbsd-4] src/bin/ps
Date: Mon, 30 Jul 2007 12:47:56 +0000 (UTC)
Module Name: src
Committed By: liamjfoy
Date: Mon Jul 30 12:47:56 UTC 2007
Modified Files:
src/bin/ps [netbsd-4]: print.c
Log Message:
Pull up following revision(s) (requested by dsl in ticket #798):
bin/ps/print.c: revision 1.100
Don't call P_ZOMBIE(struct kinfo_proc2), it's p_stat field contains
lwp states, not process states!
Since the times are filled with zeros for zombie processes the check
before assuming teh process time is zero is moot - delete it.
Fix the other chact to test the p_realstat.
Fixer PR kern/36295
To generate a diff of this commit:
cvs rdiff -r1.96 -r1.96.2.1 src/bin/ps/print.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.