7 Bug-Reported-by: Thomas Cort <tcort@minix3.org>
8 Bug-Reference-ID: <BANLkTik-ebGGw3k_1YtB=RyfV1bsqdxC_g@mail.gmail.com>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-06/msg00110.html
13 Bash fails to compile unless JOB_CONTROL is defined.
15 Patch (apply with `patch -p0'):
19 @@ -2196,6 +2196,7 @@ execute_pipeline (command, asynchronous,
20 if (ignore_return && cmd)
21 cmd->flags |= CMD_IGNORE_RETURN;
23 +#if defined (JOB_CONTROL)
25 begin_unwind_frame ("lastpipe-exec");
27 @@ -2219,15 +2220,19 @@ execute_pipeline (command, asynchronous,
28 lastpipe_jid = stop_pipeline (0, (COMMAND *)NULL); /* XXX */
29 add_unwind_protect (lastpipe_cleanup, lastpipe_jid);
31 - cmd->flags |= CMD_LASTPIPE;
33 + cmd->flags |= CMD_LASTPIPE;
36 add_unwind_protect (close, prev);
39 exec_result = execute_command_internal (cmd, asynchronous, prev, pipe_out, fds_to_close);
41 +#if defined (JOB_CONTROL)
43 restore_stdin (lstdin);
51 regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
52 looks for to find the patch level (for the sccs version string). */
54 -#define PATCHLEVEL 17
55 +#define PATCHLEVEL 18
57 #endif /* _PATCHLEVEL_H_ */