You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
410 B
21 lines
410 B
Fix an error when using pipes and PGRP_PIPE is enabled.
|
|
( exec 3>&1; : `echo >&3` )
|
|
bash: 3: Bad file descriptor
|
|
|
|
http://bugs.gentoo.org/92349
|
|
|
|
Patch from upstream
|
|
|
|
*** a/jobs.c
|
|
--- b/jobs.c
|
|
***************
|
|
*** 3456,3459 ****
|
|
--- 3901,3907 ----
|
|
stop_making_children ();
|
|
start_pipeline ();
|
|
+ #if defined (PGRP_PIPE)
|
|
+ pipe_close (pgrp_pipe);
|
|
+ #endif
|
|
delete_all_jobs (0);
|
|
set_job_control (0);
|