projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a582c1c
)
_exec: disable SIGQUIT handler override by parent
author
Zac Medico
<zmedico@gentoo.org>
Thu, 23 Dec 2010 19:40:55 +0000
(11:40 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 28 Dec 2010 21:52:59 +0000
(13:52 -0800)
This will fix bug #289486.
pym/portage/process.py
patch
|
blob
|
history
diff --git
a/pym/portage/process.py
b/pym/portage/process.py
index 3809ed8a05fc6e2788ea65a0c29da81e004cc623..00fe4a5eb2ee6c0cc5c4fbb26a179faa0f3688e3 100644
(file)
--- a/
pym/portage/process.py
+++ b/
pym/portage/process.py
@@
-352,6
+352,10
@@
def _exec(binary, mycommand, opt_name, fd_pipes, env, gid, groups, uid, umask,
# Quiet killing of subprocesses by SIGPIPE (see bug #309001).
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
+ # Avoid issues triggered by inheritance of SIGQUIT handler from
+ # the parent process (see bug #289486).
+ signal.signal(signal.SIGQUIT, signal.SIG_DFL)
+
_setup_pipes(fd_pipes)
# Set requested process permissions.