From f30c3da2c2a25c03517208105ae7e4ea081b7306 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 11 Oct 2011 11:34:27 -0700 Subject: bash: update to 4.2 (From OE-Core rev: cd3d74f88b950050ee1e7738287b8752e8c7b711) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-extended/bash/bash-4.2/execute_cmd.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta/recipes-extended/bash/bash-4.2/execute_cmd.patch (limited to 'meta/recipes-extended/bash/bash-4.2') 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) -- cgit v1.2.3-54-g00ecf