Browse Source

fix a compilation warning in posix_openpty() on "PPC64 AIX 3.x" buildbot

pull/224/head
Victor Stinner 13 years ago
parent
commit
b9981ba680
  1. 2
      Modules/posixmodule.c

2
Modules/posixmodule.c

@ -5837,7 +5837,9 @@ posix_openpty(PyObject *self, PyObject *noargs)
posix_error:
posix_error();
#if defined(HAVE_OPENPTY) || defined(HAVE__GETPTY)
error:
#endif
if (master_fd != -1)
close(master_fd);
if (slave_fd != -1)

Loading…
Cancel
Save