Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 10/15/1999 13:39:54
Module Name: basesrc
Committed By: jdolecek
Date: Fri Oct 15 20:39:53 UTC 1999
Modified Files:
basesrc/bin/ps: print.c procfs_ops.c ps.c
Log Message:
command(): don't start using procfs_getargv() instead of kvm_getargv()
just because the latter returned a NULL - that may normally happen,
when the process is, for example, a kernel thread
procfs_getargv(): if the name is brackened in '(' and ')', just
return NULL immediately - the code in command() will DTRT
and the output will be same for procfs- and kvm- based lookup
in all cases
To generate a diff of this commit:
cvs rdiff -r1.45 -r1.46 basesrc/bin/ps/print.c
cvs rdiff -r1.6 -r1.7 basesrc/bin/ps/procfs_ops.c
cvs rdiff -r1.30 -r1.31 basesrc/bin/ps/ps.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.