Close the parallel-fetch log file descriptor when it's no longer needed.
authorZac Medico <zmedico@gentoo.org>
Mon, 18 Sep 2006 03:14:56 +0000 (03:14 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 18 Sep 2006 03:14:56 +0000 (03:14 -0000)
svn path=/main/trunk/; revision=4469

bin/emerge

index 95d41bf9e9de0d55fe44b789bbd5cdd177bed030..a876782c6a513c27a4a052b6f58243152fc32113 100755 (executable)
@@ -1885,6 +1885,7 @@ class MergeTask(object):
                                                fetch_args.append(arg)
                                portage.portage_exec.spawn(fetch_args, env=fetch_env,
                                        fd_pipes=fd_pipes, returnpid=True)
+                               logfile.close() # belongs to the spawned process
 
                mergecount=0
                for x in mymergelist: