Update SIGPIPE comments to refer to "[Errno 32] Broken pipe" exceptions since
authorZac Medico <zmedico@gentoo.org>
Sat, 13 Mar 2010 21:55:24 +0000 (21:55 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 13 Mar 2010 21:55:24 +0000 (21:55 -0000)
this is signal hander now set automatically for subprocesses after the fork
in portage.process.spawn().

svn path=/main/trunk/; revision=15826

bin/ebuild
bin/emerge

index 01b77b6e89fc5d34adfbe8b1be8f630788a4f0d9..a4c0bfdbc7db9439361bad523e8bc78b912ca323 100755 (executable)
@@ -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:
index 8f5d98f7e3b6aee83978e8d18738cf299cc66a74..fe3b422d7d6f1fa3455aafb2814c995ed5d87402 100755 (executable)
@@ -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: