Subject: Re: another vfork shell regression
To: None <firstname.lastname@example.org>
From: David Laight <email@example.com>
Date: 10/23/2002 22:54:13
On Wed, Oct 23, 2002 at 08:20:59PM +0100, David Laight wrote:
> The wrong process is aborting when variable assignment fails
> in the vfork path. So the following command fails to execute
> the second echo (shown here with the correct output).
> $ (readonly r; r= /bin/echo a; echo b)
> r: is read only
> fix: defer the mklocal() to the child shell.
> 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.
Thanks to Christos for applying these fixes for me.
David Laight: firstname.lastname@example.org