Patch from Brad Smith to use posix_openpt() instead of
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 18 Dec 2012 09:02:38 +0000 (09:02 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 18 Dec 2012 09:02:38 +0000 (09:02 +0000)
commit32f8db2c94c447f20eaa7cc056e2109d5c25ef68
tree807ef1dc420321bba65e352a9d2c1cdd40b2c7fa
parent193c8d4a7559f40fe0e0c8610cf6832a0e976e77
Patch from Brad Smith to use posix_openpt() instead of
open("/dev/ptmx"), where the former is available. Improves
portability, since at least one OS (OpenBSD) supports the POSIX pty
functions but does it via an underlying mechanism which doesn't
involving having a /dev/ptmx.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9728 cda61777-01e9-0310-a592-d414129be87e
unix/configure.ac
unix/uxpty.c