Magellan Linux

Annotation of /trunk/bash/patches/bash-3.0-pgrp-pipe-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (hide annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 462 byte(s)
-import

1 niro 144 Fix an error when using pipes and PGRP_PIPE is enabled.
2     ( exec 3>&1; : `echo >&3` )
3     bash: 3: Bad file descriptor
4    
5     http://bugs.gentoo.org/92349
6    
7     Patch from upstream
8    
9     *** jobs.c Wed Sep 8 11:08:16 2004
10     --- jobs.c Thu Jun 30 17:21:26 2005
11     ***************
12     *** 3456,3459 ****
13     --- 3901,3907 ----
14     stop_making_children ();
15     start_pipeline ();
16     + #if defined (PGRP_PIPE)
17     + pipe_close (pgrp_pipe);
18     + #endif
19     delete_all_jobs (0);
20     set_job_control (0);