commit bash-20120427 snapshot

This commit is contained in:
Chet Ramey
2012-05-02 08:33:16 -04:00
parent e107650cbf
commit 8cb3d56718
6 changed files with 1030 additions and 7 deletions
+1 -1
View File
@@ -2324,7 +2324,7 @@ execute_pipeline (command, asynchronous, pipe_in, pipe_out, fds_to_close)
current shell environment. */
if (lastpipe_opt && job_control == 0 && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0)
{
lstdin = move_to_high_fd (0, 0, 255);
lstdin = move_to_high_fd (0, 1, -1);
if (lstdin > 0)
{
do_piping (prev, pipe_out);