]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
pterm: move termios setup to after the fork.
authorSimon Tatham <anakin@pobox.com>
Tue, 1 Sep 2015 17:45:51 +0000 (18:45 +0100)
committerSimon Tatham <anakin@pobox.com>
Tue, 1 Sep 2015 17:49:22 +0000 (18:49 +0100)
commit097d5ffb37c0280529eb6b172c9ce43f335cf73c
tree22396a6b23abb02129d5435843a2f316819d4b48
parent1840103c05d10ba1c45353282b4ad7f742a75b92
pterm: move termios setup to after the fork.

On OS X, apparently, we can't do termios setup on the pty master, so
instead we have to leave it until we've opened the slave fd in the
child process. That works on Linux too, so let's leave it here rather
than having another cumbersome ifdef.
unix/uxpty.c