Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 137105 | Differences between
and this patch

Collapse All | Expand All

(-)bin/emerge (-3 / +8 lines)
Lines 1936-1945 Link Here
1936
					sys.stdout.close()
1936
					sys.stdout.close()
1937
					sys.stderr.close()
1937
					sys.stderr.close()
1938
					time.sleep(3) # allow the parent to have first fetch
1938
					time.sleep(3) # allow the parent to have first fetch
1939
					sys.stdout = open("/dev/null","w")
1939
					fetchlog = "/var/log/emerge-fetch.log"
1940
					sys.stderr = open("/dev/null","w")
1940
					sys.stdout = open(fetchlog, "a")
1941
					sys.stderr = sys.stdout
1941
					os.dup2(sys.stdout.fileno(), 1)
1942
					os.dup2(sys.stdout.fileno(), 1)
1942
					os.dup2(sys.stdout.fileno(), 2)
1943
					os.dup2(sys.stderr.fileno(), 2)
1944
					portage_util.apply_secpass_permissions(fetchlog,
1945
						uid=portage.portage_uid, gid=portage.portage_gid,
1946
						mode=0660)
1947
1943
					# wipe the mtimedb so that portage doesn't attempt to flush it.
1948
					# wipe the mtimedb so that portage doesn't attempt to flush it.
1944
					# do not convert this code away from a fork without correcting this.
1949
					# do not convert this code away from a fork without correcting this.
1945
					portage.mtimedb = None
1950
					portage.mtimedb = None

Return to bug 137105