Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 478446
Collapse All | Expand All

(-)a/pym/portage/process.py (-1 / +1 lines)
Lines 39-45 for _fd_dir in ("/proc/self/fd", "/dev/fd"): Link Here
39
	else:
39
	else:
40
		_fd_dir = None
40
		_fd_dir = None
41
41
42
if _fd_dir is not None:
42
if _fd_dir is not None and platform.system() not in ('FreeBSD',):
43
	def get_open_fds():
43
	def get_open_fds():
44
		return (int(fd) for fd in os.listdir(_fd_dir) if fd.isdigit())
44
		return (int(fd) for fd in os.listdir(_fd_dir) if fd.isdigit())
45
45

Return to bug 478446