From: Zac Medico Date: Wed, 7 Oct 2009 19:30:41 +0000 (-0000) Subject: Enable pty support on FreeBSD. X-Git-Tag: v2.2_rc45~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=753da5d98709eb5705254bfe208918d683abc262;p=portage.git Enable pty support on FreeBSD. svn path=/main/trunk/; revision=14516 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index c2acfc451..c4c20eee1 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -3852,7 +3852,7 @@ def _test_pty_eof(): # In some cases, openpty can be slow when it fails. Therefore, # stop trying to use it after the first failure. -if platform.system() not in ["Linux"]: +if platform.system() not in ["FreeBSD", "Linux"]: # Disable the use of openpty on Solaris as it seems Python's openpty # implementation doesn't play nice on Solaris with Portage's # behaviour causing hangs/deadlocks.