Subject: CVS commit: basesrc/bin/sh
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 10/23/2002 22:46:07
Module Name:	basesrc
Committed By:	christos
Date:		Wed Oct 23 19:46:07 UTC 2002

Modified Files:
	basesrc/bin/sh: jobs.c

Log Message:
From David Laight:

> Also 'jobs' fails in a non-interactive shell.
> In showjobs(), the code that puts the process back into its
> own process group should only be run if the shell is actually
> doing job control - eg if 'mflag' is set.


To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 basesrc/bin/sh/jobs.c

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