bug 117849, when parallel-fetch is on don't write out the mtimedb in the fetcher...
authorBrian Harring <ferringb@gentoo.org>
Thu, 5 Jan 2006 09:19:31 +0000 (09:19 -0000)
committerBrian Harring <ferringb@gentoo.org>
Thu, 5 Jan 2006 09:19:31 +0000 (09:19 -0000)
svn path=/main/trunk/; revision=2534

bin/emerge

index ddc84869550c2345418d743bfdcf577c33c29311..92bef70356c11d55c7f088a30f765f9b873e104c 100755 (executable)
@@ -1932,6 +1932,9 @@ class depgraph:
                                        sys.stderr = open("/dev/null","w")
                                        os.dup2(sys.stdout.fileno(), 1)
                                        os.dup2(sys.stdout.fileno(), 2)
+                                       # wipe the mtimedb so that portage doesn't attempt to flush it.
+                                       # do not convert this code away from a fork without correcting this.
+                                       portage.mtimedb = None
                                        for x in ("autoaddcvs", "cvs"):
                                                try:    myfeat.remove(x)
                                                except ValueError: pass