diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-10-19 20:31:56 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-10-19 20:31:56 +0000 |
commit | 3d151766ad406d5bfc73eaa16c568b556b4c4774 (patch) | |
tree | c4307b160640b5bde41e3fefe74bd4ed19c65371 /app-shells/bash/files/bash-3.0-pgrp-pipe-fix.patch | |
parent | Revbump to fix mysql_config embedded libs location and tokudb patch (diff) | |
download | gentoo-2-3d151766ad406d5bfc73eaa16c568b556b4c4774.tar.gz gentoo-2-3d151766ad406d5bfc73eaa16c568b556b4c4774.tar.bz2 gentoo-2-3d151766ad406d5bfc73eaa16c568b556b4c4774.zip |
Restore SLOTed bash-2.05b and bash-3.0 for devs.
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key D2E96200)
Diffstat (limited to 'app-shells/bash/files/bash-3.0-pgrp-pipe-fix.patch')
-rw-r--r-- | app-shells/bash/files/bash-3.0-pgrp-pipe-fix.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-shells/bash/files/bash-3.0-pgrp-pipe-fix.patch b/app-shells/bash/files/bash-3.0-pgrp-pipe-fix.patch new file mode 100644 index 000000000000..35b0b7d05924 --- /dev/null +++ b/app-shells/bash/files/bash-3.0-pgrp-pipe-fix.patch @@ -0,0 +1,20 @@ +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 + +*** jobs.c Wed Sep 8 11:08:16 2004 +--- jobs.c Thu Jun 30 17:21:26 2005 +*************** +*** 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); |