bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash-3.2 breaks process substitution


From: Roy Marples
Subject: bash-3.2 breaks process substitution
Date: Wed, 1 Nov 2006 19:33:22 +0000
User-agent: KMail/1.9.5

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: freebsd6.2
Compiler: i686-gentoo-freebsd6.2-gcc
Compilation 
CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='freebsd6.2' 
-DCONF_MACHTYPE='i686-gentoo-freebsd6.2' -DCONF_VENDOR='gentoo' 
-DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H   -I.  
-I. -I./include -I./lib   -O2 -march=pentium-m -pipe -fomit-frame-pointer
uname output: FreeBSD uberlaptop 6.2-BETA2 FreeBSD Gentoo 6.2_beta2 #6: Sat 
Oct 28 01:56:52 BST 2006     
root@uberlaptop:/usr/src/sys-6.2_beta2/i386/compile/UBERKERNEL  i386
Machine Type: i686-gentoo-freebsd6.2

Bash Version: 3.2
Patch Level: 3
Release Status: release

Description:
        As in subject, process substitution

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)




Thanks

-- 
Roy Marples <uberlord@gentoo.org>
Gentoo/Linux/FreeBSD Developer (baselayout, networking)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]