[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash-3.2 breaks process substitution
From: |
Roy Marples |
Subject: |
Re: bash-3.2 breaks process substitution |
Date: |
Wed, 15 Nov 2006 10:53:25 +0000 |
User-agent: |
KMail/1.9.5 |
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)
bash-3.2-process-subst.patch
Description: Text Data