[Python-checkins] cpython: fix a compilation warning in posix_openpty() on "PPC64 AIX 3.x" buildbot
victor.stinner
python-checkins at python.org
Wed Aug 28 01:51:48 CEST 2013
http://hg.python.org/cpython/rev/b09d6b38f25e
changeset: 85424:b09d6b38f25e
user: Victor Stinner <victor.stinner at gmail.com>
date: Wed Aug 28 01:51:06 2013 +0200
summary:
fix a compilation warning in posix_openpty() on "PPC64 AIX 3.x" buildbot
files:
Modules/posixmodule.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -5837,7 +5837,9 @@
posix_error:
posix_error();
+#if defined(HAVE_OPENPTY) || defined(HAVE__GETPTY)
error:
+#endif
if (master_fd != -1)
close(master_fd);
if (slave_fd != -1)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list