projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3081e65
)
MergeProcess: close elog_writer_fd leak
author
Zac Medico
<zmedico@gentoo.org>
Fri, 25 Mar 2011 08:11:45 +0000
(
01:11
-0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 25 Mar 2011 08:11:45 +0000
(
01:11
-0700)
pym/portage/dbapi/_MergeProcess.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/_MergeProcess.py
b/pym/portage/dbapi/_MergeProcess.py
index a8c3c9dc7a7993e2e89499a6d24d91c8b4e392a3..8f61a2fde0a6d7bc0604efee4953e203462c5f54 100644
(file)
--- a/
pym/portage/dbapi/_MergeProcess.py
+++ b/
pym/portage/dbapi/_MergeProcess.py
@@
-64,6
+64,7
@@
class MergeProcess(SpawnProcess):
pid = os.fork()
if pid != 0:
+ os.close(elog_writer_fd)
self._elog_reader_fd = elog_reader_fd
self._buf = ""
portage.process.spawned_pids.append(pid)