From b402d4dc3b098709a4484880105f875d72b186c6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 13 Mar 2010 21:55:24 +0000 Subject: 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 --- bin/ebuild | 3 ++- bin/emerge | 3 ++- 2 files changed, 4 insertions(+), 2 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: 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: -- cgit v1.2.3-1-g7c22