7 Bug-Reported-by: Greg Wooledge <wooledg@eeg.ccf.org>
8 Bug-Reference-ID: <20120425180443.GO22241@eeg.ccf.org>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2012-04/msg00172.html
13 The `lastpipe' option does not behave correctly on machines where the
14 open file limit is less than 256.
16 Patch (apply with `patch -p0'):
20 @@ -2209,7 +2209,7 @@ execute_pipeline (command, asynchronous,
22 asynchronous == 0 && pipe_out == NO_PIPE && prev > 0)
24 - lstdin = move_to_high_fd (0, 0, 255);
25 + lstdin = move_to_high_fd (0, 1, -1);
28 do_piping (prev, pipe_out);
29 @@ -2255,7 +2255,9 @@ execute_pipeline (command, asynchronous,
30 unfreeze_jobs_list ();
33 +#if defined (JOB_CONTROL)
34 discard_unwind_frame ("lastpipe-exec");
42 regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
43 looks for to find the patch level (for the sccs version string). */
45 -#define PATCHLEVEL 25
46 +#define PATCHLEVEL 26
48 #endif /* _PATCHLEVEL_H_ */