On Wednesday 01 November 2006 19:33, Roy Marples wrote:
> Repeat-By:
> cat < <(ls)
> /dev/fd/62: No such file or directory
>
> Fix:
> --- execute_cmd.c 2006-11-01 18:32:36 +0000
> +++ execute_cmd.c 2006-11-01 18:32:42 +0000
> @@ -2672,6 +2672,7 @@
>
> do_piping (pipe_in, pipe_out);
>
> + subshell_environment = 0;
> if (async)
> subshell_environment |= SUBSHELL_ASYNC;
> if (pipe_in != NO_PIPE || pipe_out != NO_PIPE)
>
Hmmm, I just got this again with bash-3.2_p5 with the above patch. After
futher review, it appears I missed another one.
Attached is the patch extended a little.
I can't see any more instances of this in execute_cmd.c
Thanks
--
Roy Marples <uberlord@gentoo.org>
Gentoo/Linux/FreeBSD Developer (baselayout, networking)