Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 05/08/2007 20:10:15
Module Name:	src
Committed By:	dsl
Date:		Tue May  8 20:10:15 UTC 2007

Modified Files:
	src/sys/kern: kern_exit.c
	src/sys/sys: proc.h

Log Message:
Add the child 'rusage' of an exiting process to its own 'rusage' exactly
once, and prior to passing it to the caller of sys_wait4() and at the same
time as adding it to the parent.
Commands like:
time sh -c 'i=0; while [ $i -lt 1000 ]; do i=$(expr $i + 1); done'
now give same output.


To generate a diff of this commit:
cvs rdiff -r1.177 -r1.178 src/sys/kern/kern_exit.c
cvs rdiff -r1.247 -r1.248 src/sys/sys/proc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.