Tartarus CVS: pstree ben

tartarus-commits-admin@lists.tartarus.org tartarus-commits-admin@lists.tartarus.org
Sun, 2 Jan 2000 16:22:12 +0000


CVSROOT:	/home/cvs
Module name:	pstree
Changes by:	ben	00/01/02 16:22:12

Modified files:
	.              : pstree.c 

Log message:
Beginning of overhaul of middle layers:
Process list is now gathered first and knitted into a tree later.  This
saves generating fake entries for processes, as we know about all the
processes when we start knitting.
There's now a "virtual root process" pointed to by vroot, whose purpose is
to act as a parent for processes with no other parents.  This will allow
me to remove the remaining hardcoded references to PID 1 (except that
pstree with no arguments is defined to be equivalent to "pstree 1").