=== modified file 'pkgcore/ebuild/processor.py' --- pkgcore/ebuild/processor.py 2007-06-18 19:36:19 +0000 +++ pkgcore/ebuild/processor.py 2008-04-22 03:07:10 +0000 @@ -240,9 +240,9 @@ # nobody stupidly hits 'em. max_fd = min(pkgcore.spawn.max_fd_limit, 1024) env.update({ - "EBD_READ_FD": str(max_fd -2), "EBD_WRITE_FD": str(max_fd -1)}) + "EBD_READ_FD": str(max_fd -3), "EBD_WRITE_FD": str(max_fd -2)}) self.pid = spawn_func("/bin/bash %s daemonize" % self.ebd, \ - fd_pipes={0:0, 1:1, 2:2, max_fd-2:cread, max_fd-1:dwrite}, \ + fd_pipes={0:0, 1:1, 2:2, max_fd-3:cread, max_fd-2:dwrite}, \ returnpid=True, env=env, *args, **spawn_opts)[0] os.close(cread)