summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-07-15 04:29:14 +0000
committerMike Frysinger <vapier@gentoo.org>2015-07-15 04:29:14 +0000
commita5de03fe23356fe65227f01e70ed2f72fab54bac (patch)
tree65111fba4f6acbf65771b045aed772f4fc253012 /app-shells/bash/files
parentupdate patch from upstream (diff)
downloadgentoo-2-a5de03fe23356fe65227f01e70ed2f72fab54bac.tar.gz
gentoo-2-a5de03fe23356fe65227f01e70ed2f72fab54bac.tar.bz2
gentoo-2-a5de03fe23356fe65227f01e70ed2f72fab54bac.zip
Fix from upstream for short pipeline execution.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'app-shells/bash/files')
-rw-r--r--app-shells/bash/files/bash-4.4-optimize-fork.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/app-shells/bash/files/bash-4.4-optimize-fork.patch b/app-shells/bash/files/bash-4.4-optimize-fork.patch
new file mode 100644
index 000000000000..98e83be12f8e
--- /dev/null
+++ b/app-shells/bash/files/bash-4.4-optimize-fork.patch
@@ -0,0 +1,16 @@
+https://lists.gnu.org/archive/html/bug-bash/2015-07/msg00060.html
+
+*** ../bash-4.4-alpha/execute_cmd.c 2015-06-12 17:29:18.000000000 -0400
+--- execute_cmd.c 2015-07-14 08:59:22.000000000 -0400
+***************
+*** 2630,2638 ****
+ if (ignore_return && second)
+ second->flags |= CMD_IGNORE_RETURN;
+- if (should_suppress_fork (second))
+- {
+- second->flags |= CMD_NO_FORK;
+- second->value.Simple->flags |= CMD_NO_FORK;
+- }
+
+ exec_result = execute_command (second);
+--- 2630,2633 ----