From: Zac Medico Date: Sat, 13 Mar 2010 21:55:24 +0000 (-0000) Subject: Update SIGPIPE comments to refer to "[Errno 32] Broken pipe" exceptions since X-Git-Tag: v2.2_rc68~713 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b402d4dc3b098709a4484880105f875d72b186c6;p=portage.git 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 --- 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: diff --git a/bin/emerge b/bin/emerge index 8f5d98f7e..fe3b422d7 100755 --- a/bin/emerge +++ b/bin/emerge @@ -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: