Subject: CVS commit: basesrc/bin/sh
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 09/28/2002 01:56:25
Module Name:	basesrc
Committed By:	christos
Date:		Fri Sep 27 22:56:25 UTC 2002

Modified Files:
	basesrc/bin/sh: eval.c eval.h expand.c jobs.c jobs.h main.c redir.c

Log Message:
Deal with rootshell not being maintained correctly in the vfork() case.
Propagate isroot, throughout the eval process and maintain it properly.
Fixes sleep 10 | cat^C not exiting because sleep and cat ended up in
their own process groups, because wasroot was always true in the children.


To generate a diff of this commit:
cvs rdiff -r1.63 -r1.64 basesrc/bin/sh/eval.c
cvs rdiff -r1.10 -r1.11 basesrc/bin/sh/eval.h
cvs rdiff -r1.53 -r1.54 basesrc/bin/sh/expand.c
cvs rdiff -r1.49 -r1.50 basesrc/bin/sh/jobs.c
cvs rdiff -r1.13 -r1.14 basesrc/bin/sh/jobs.h
cvs rdiff -r1.42 -r1.43 basesrc/bin/sh/main.c
cvs rdiff -r1.24 -r1.25 basesrc/bin/sh/redir.c

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