1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-15 15:37:03 +00:00

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>
This commit is contained in:
Saul Wold
2011-10-11 11:34:27 -07:00
committed by Richard Purdie
parent 3a1d27cd7b
commit f30c3da2c2
3 changed files with 56 additions and 38 deletions
@@ -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)