summaryrefslogtreecommitdiff
path: root/app-shells/bash/files/bash-3.2-process-subst.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-shells/bash/files/bash-3.2-process-subst.patch')
-rw-r--r--app-shells/bash/files/bash-3.2-process-subst.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-shells/bash/files/bash-3.2-process-subst.patch b/app-shells/bash/files/bash-3.2-process-subst.patch
new file mode 100644
index 000000000000..bd0b3f4e1792
--- /dev/null
+++ b/app-shells/bash/files/bash-3.2-process-subst.patch
@@ -0,0 +1,12 @@
+Fix process substitution on BSD
+
+--- execute_cmd.c
++++ execute_cmd.c
+@@ -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)