diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-03-03 18:55:57 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-05 15:24:05 +0000 |
commit | 31eb09a888729fcfd17d02f2a47375e10e87f79a (patch) | |
tree | a578525ad545530426438b26a042dd3bbf66471b /meta/recipes-extended/bash/bash/execute_cmd.patch | |
parent | a881acdcc4df8e29bc2107ef5c04ad96024ce2fb (diff) | |
download | openembedded-core-contrib-31eb09a888729fcfd17d02f2a47375e10e87f79a.tar.gz |
bash: upgrade to 4.3
The bash-4.2-patches is obsolete.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bash/bash/execute_cmd.patch')
-rw-r--r-- | meta/recipes-extended/bash/bash/execute_cmd.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash/execute_cmd.patch b/meta/recipes-extended/bash/bash/execute_cmd.patch new file mode 100644 index 0000000000..81f8f0a9cd --- /dev/null +++ b/meta/recipes-extended/bash/bash/execute_cmd.patch @@ -0,0 +1,17 @@ +Upstream-Status: Inappropriate [embedded specific] + +--- 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) |