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

Collapse All | Expand All

(-)portage_exec.py (-1 / +1 lines)
Lines 98-104 Link Here
98
		opt_name = mycommand[0]
98
		opt_name = mycommand[0]
99
	myargs=[opt_name]
99
	myargs=[opt_name]
100
	myargs.extend(mycommand[1:])
100
	myargs.extend(mycommand[1:])
101
	mypid.append(os.fork())
101
	mypid.insert(0, os.fork())
102
	if mypid[-1] == 0:
102
	if mypid[-1] == 0:
103
		# this may look ugly, but basically it moves file descriptors around to ensure no
103
		# this may look ugly, but basically it moves file descriptors around to ensure no
104
		# handles that are needed are accidentally closed during the final dup2 calls.
104
		# handles that are needed are accidentally closed during the final dup2 calls.

Return to bug 104705