aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2015-06-18 18:39:58 +0200
committerFabian Groffen <grobian@gentoo.org>2015-06-20 08:55:43 +0200
commit9607fb432f1333774bf6994166e2fa7e96616b6d (patch)
treef1295417f0acb86e6a6f59ced32e22ec15118247
parentlet env-update call ldconfig if it exists (diff)
downloadportage-9607fb432f1333774bf6994166e2fa7e96616b6d.tar.gz
portage-9607fb432f1333774bf6994166e2fa7e96616b6d.tar.bz2
portage-9607fb432f1333774bf6994166e2fa7e96616b6d.zip
disable openpty on more unices
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r--pym/portage/util/_pty.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pym/portage/util/_pty.py b/pym/portage/util/_pty.py
index 13e468b0c..a92f57543 100644
--- a/pym/portage/util/_pty.py
+++ b/pym/portage/util/_pty.py
@@ -9,12 +9,12 @@ from portage import os
from portage.output import get_term_size, set_term_size
from portage.util import writemsg
-# 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.
+# Disable the use of openpty on Solaris (and others) as it seems Python's
+# openpty implementation doesn't play nice with Portage's behaviour,
+# causing hangs/deadlocks.
# Additional note for the future: on Interix, pipes do NOT work, so
# _disable_openpty on Interix must *never* be True
-_disable_openpty = platform.system() in ("SunOS","FreeMiNT",)
+_disable_openpty = platform.system() in ("AIX","FreeMiNT","HP-UX","SunOS",)
_fbsd_test_pty = platform.system() == 'FreeBSD'