[Patch] Let luit use posix_openpt()
alan.coopersmith at oracle.com
Thu Oct 13 18:00:56 PDT 2011
On 10/13/11 06:17 AM, Guillem Jover wrote:
> On Wed, 2011-10-12 at 20:59:54 +0200, Ed Schouten wrote:
>> From e599ea2515e9eda2d35b72431df5569f2b99f318 Mon Sep 17 00:00:00 2001
>> From: Ed Schouten<ed at 80386.nl>
>> Date: Wed, 12 Oct 2011 20:53:21 +0200
>> Subject: [PATCH] Add support for posix_openpt().
>> Instead of opening /dev/ptmx directly, we should use the proper
>> posix_openpt() function to obtain a pseudo-terminal. Some operating
>> systems, such as FreeBSD 8 and later, implement pseudo-terminal master
>> device nodes as a special file descriptor type, like sockets. They do
>> not support creation of pseudo-terminals through /dev/ptmx.
>> Signed-off-by: Ed Schouten<ed at 80386.nl>
> Reviewed-by: Guillem Jover<guillem at hadrons.org>
Looks good to me too, so I added my Reviewed tag & pushed.
Thanks for the patch.
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the xorg-devel