Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-4] src/bin/ps



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.




Home | Main Index | Thread Index | Old Index