summaryrefslogtreecommitdiff
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
parentBug #309001 - Install a SIGPIPE handler inside _exec for all forked processes. (diff)
downloadportage-idfetch-b402d4dc3b098709a4484880105f875d72b186c6.tar.gz
portage-idfetch-b402d4dc3b098709a4484880105f875d72b186c6.tar.bz2
portage-idfetch-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 01b77b6e..a4c0bfdb 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: