]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Encapsulated most of the pty backend's variables into a proper data
authorSimon Tatham <anakin@pobox.com>
Sun, 6 Feb 2005 15:14:34 +0000 (15:14 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 6 Feb 2005 15:14:34 +0000 (15:14 +0000)
commitf5442209d467f346efd646402bf0a75e598f5336
tree5614d29f323b62915801794cc7f2786e7e44856d
parentd13ac1bc345c917ebd6468bdfff5c367d1bfb9de
Encapsulated most of the pty backend's variables into a proper data
structure, in preparation for wanting more than one of them in a
single process. This can't be done cleanly, because the whole
business with pty_pre_init pre-allocating the pty rather assumes we
want a known number of the things before we drop privileges; so
there's a horrid hack to make pty_pre_init work on platforms that
have at most one pty instance per process, but at the same time
things ought to work sensibly with more than one per process _if_
pty_pre_init isn't required.

[originally from svn r5261]
unix/uxpty.c