aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bash/bash-4.2
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-10-11 11:34:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-14 12:53:31 +0100
commitcd3d74f88b950050ee1e7738287b8752e8c7b711 (patch)
treed93e53bc528b2f6da844d0f783ad1793366c0654 /meta/recipes-extended/bash/bash-4.2
parent2b131dbfaef433e879a0a97521059e26a72bce34 (diff)
downloadopenembedded-core-cd3d74f88b950050ee1e7738287b8752e8c7b711.tar.gz
bash: update to 4.2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/bash/bash-4.2')
-rw-r--r--meta/recipes-extended/bash/bash-4.2/execute_cmd.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash-4.2/execute_cmd.patch b/meta/recipes-extended/bash/bash-4.2/execute_cmd.patch
new file mode 100644
index 0000000000..bd55787e74
--- /dev/null
+++ b/meta/recipes-extended/bash/bash-4.2/execute_cmd.patch
@@ -0,0 +1,15 @@
+--- execute_cmd.c.orig Fri Jun 3 13:34:42 2011
++++ execute_cmd.c Fri Jun 3 13:36:41 2011
+@@ -2202,7 +2202,11 @@
+ /* If the `lastpipe' option is set with shopt, and job control is not
+ enabled, execute the last element of non-async pipelines in the
+ current shell environment. */
+- if (lastpipe_opt && job_control == 0 && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0)
++ if (lastpipe_opt &&
++#if defined(JOB_CONTROL)
++ job_control == 0 &&
++#endif
++ asynchronous == 0 && pipe_out == NO_PIPE && prev > 0)
+ {
+ lstdin = move_to_high_fd (0, 0, 255);
+ if (lstdin > 0)