summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-21 02:11:35 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-21 02:11:35 +0000
commit71ae15787f9c8cbbf9058b6ff5bc769372263c28 (patch)
tree90b47e8ed1e49cae65dedc50159947960e210d5b /bin
parent14e23092b6892a094e8029f27b4f2276e442b1e6 (diff)
downloadportage-71ae15787f9c8cbbf9058b6ff5bc769372263c28.tar.gz
portage-71ae15787f9c8cbbf9058b6ff5bc769372263c28.tar.bz2
portage-71ae15787f9c8cbbf9058b6ff5bc769372263c28.zip
Remove pointless closing of stdin that is done prior to metadata transfer and use os.rename instead of spawning MOVE_BINARY (see bug #136404). This patch is from trunk r3499 and r3500.
svn path=/main/branches/2.1/; revision=3561
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge5
1 files changed, 0 insertions, 5 deletions
diff --git a/bin/emerge b/bin/emerge
index fd5eb7f07..3172fad5b 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -2930,11 +2930,6 @@ if myaction in ["sync","metadata"] and (not "--help" in myopts):
print "!!! rsync setting: ",syncuri,"not recognized; exiting."
sys.exit(1)
- try: # Prevent users from affecting ebuild.sh.
- os.close(sys.stdin.fileno())
- except OSError, e:
- pass
-
if updatecache_flg and \
myaction != "metadata" and \
"metadata-transfer" not in portage.settings.features: