diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-10-11 11:34:27 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-14 13:18:18 +0100 |
commit | f30c3da2c2a25c03517208105ae7e4ea081b7306 (patch) | |
tree | 522c1857cd386024628074c97288482421cd6d46 /meta/recipes-extended/bash/bash-4.2 | |
parent | 3a1d27cd7bf23d10739e1e07a09dc5149eb47b1d (diff) | |
download | poky-f30c3da2c2a25c03517208105ae7e4ea081b7306.tar.gz |
bash: update to 4.2
(From OE-Core rev: cd3d74f88b950050ee1e7738287b8752e8c7b711)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bash/bash-4.2')
-rw-r--r-- | meta/recipes-extended/bash/bash-4.2/execute_cmd.patch | 15 |
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 @@ | |||
1 | --- execute_cmd.c.orig Fri Jun 3 13:34:42 2011 | ||
2 | +++ execute_cmd.c Fri Jun 3 13:36:41 2011 | ||
3 | @@ -2202,7 +2202,11 @@ | ||
4 | /* If the `lastpipe' option is set with shopt, and job control is not | ||
5 | enabled, execute the last element of non-async pipelines in the | ||
6 | current shell environment. */ | ||
7 | - if (lastpipe_opt && job_control == 0 && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) | ||
8 | + if (lastpipe_opt && | ||
9 | +#if defined(JOB_CONTROL) | ||
10 | + job_control == 0 && | ||
11 | +#endif | ||
12 | + asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) | ||
13 | { | ||
14 | lstdin = move_to_high_fd (0, 0, 255); | ||
15 | if (lstdin > 0) | ||