]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
When allocating BSD-style ptys, we should not be satisfied with a
authorSimon Tatham <anakin@pobox.com>
Sat, 5 Feb 2005 15:33:36 +0000 (15:33 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 5 Feb 2005 15:33:36 +0000 (15:33 +0000)
commitfd961b398a675d53225a61faa4cbeec722b3249d
treeeb2d9f1b5044fbe3d736e7f33422650c1465a71e
parent0eb1e5df8dbd23485de07eec1cf9a85d1e067d2f
When allocating BSD-style ptys, we should not be satisfied with a
/dev/ptyXX we can open: we must also check that we can open and use
the corresponding /dev/ttyXX, because if it's been left in the wrong
mode then we will look terribly silly when we fork and _then_
discover our pty is unusable.

[originally from svn r5257]
unix/uxpty.c