Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r14516 - main/trunk/pym/portage
Date: Wed, 07 Oct 2009 19:30:54
Message-Id: E1MvcDi-0005oQ-BS@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-10-07 19:30:41 +0000 (Wed, 07 Oct 2009)
3 New Revision: 14516
4
5 Modified:
6 main/trunk/pym/portage/__init__.py
7 Log:
8 Enable pty support on FreeBSD.
9
10
11 Modified: main/trunk/pym/portage/__init__.py
12 ===================================================================
13 --- main/trunk/pym/portage/__init__.py 2009-10-07 19:23:16 UTC (rev 14515)
14 +++ main/trunk/pym/portage/__init__.py 2009-10-07 19:30:41 UTC (rev 14516)
15 @@ -3852,7 +3852,7 @@
16
17 # In some cases, openpty can be slow when it fails. Therefore,
18 # stop trying to use it after the first failure.
19 -if platform.system() not in ["Linux"]:
20 +if platform.system() not in ["FreeBSD", "Linux"]:
21 # Disable the use of openpty on Solaris as it seems Python's openpty
22 # implementation doesn't play nice on Solaris with Portage's
23 # behaviour causing hangs/deadlocks.