The code this affects in sshpty.c originally came from OpenSSH, which now uses openpty by preference when it's available. openpty is a BSD-ism, but it's been provided by glibc on Linux with the BSD semantics since 1998.
@fragglet - This might fix the problem that #190 (since reverted) was trying to address too?
The code this affects in sshpty.c originally came from OpenSSH, which now uses openpty by preference when it's available. openpty is a BSD-ism, but it's been provided by glibc on Linux with the BSD semantics since 1998.
@fragglet - This might fix the problem that #190 (since reverted) was trying to address too?