summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2006-01-05 09:19:31 +0000
committerBrian Harring <ferringb@gentoo.org>2006-01-05 09:19:31 +0000
commit99af56d01dbda82ed60d4d10b60b1cef91ab889c (patch)
treed5b57b9376e4e07002fc81279ea1000e97016be5
parent66d5fa98fb2c4788a3b2ada3436719b4d0cf5830 (diff)
downloadportage-99af56d01dbda82ed60d4d10b60b1cef91ab889c.tar.gz
portage-99af56d01dbda82ed60d4d10b60b1cef91ab889c.tar.bz2
portage-99af56d01dbda82ed60d4d10b60b1cef91ab889c.zip
bug 117849, when parallel-fetch is on don't write out the mtimedb in the fetcher process
svn path=/main/trunk/; revision=2534
-rwxr-xr-xbin/emerge3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index ddc848695..92bef7035 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -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