summaryrefslogtreecommitdiffstats
path: root/bin/ebuild
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-03-13 21:55:24 +0000
committerZac Medico <zmedico@gentoo.org>2010-03-13 21:55:24 +0000
commitb402d4dc3b098709a4484880105f875d72b186c6 (patch)
treeb0957b7e31e7c7604ddd91ddebb1a5938eeffe0c /bin/ebuild
parentd80db256ec34b8aac65eda89f2ff2baea5996d5f (diff)
downloadportage-b402d4dc3b098709a4484880105f875d72b186c6.tar.gz
portage-b402d4dc3b098709a4484880105f875d72b186c6.tar.bz2
portage-b402d4dc3b098709a4484880105f875d72b186c6.zip
Update SIGPIPE comments to refer to "[Errno 32] Broken pipe" exceptions since
this is signal hander now set automatically for subprocesses after the fork in portage.process.spawn(). svn path=/main/trunk/; revision=15826
Diffstat (limited to 'bin/ebuild')
-rwxr-xr-xbin/ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild b/bin/ebuild
index 01b77b6e8..a4c0bfdbc 100755
--- a/bin/ebuild
+++ b/bin/ebuild
@@ -17,7 +17,8 @@ try:
signal.signal(signal.SIGINT, exithandler)
signal.signal(signal.SIGTERM, exithandler)
- # Quiet killing of subprocesses by SIGPIPE (see bug #309001).
+ # Prevent "[Errno 32] Broken pipe" exceptions when
+ # writing to a pipe.
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
except KeyboardInterrupt: