]> asedeno.scripts.mit.edu Git - PuTTY_svn.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)
commit8cc7a558b9325ae14f384f8ba45e92e9c1420c4b
tree5614d29f323b62915801794cc7f2786e7e44856d
parentf32ef0f49d5f41f4f19cc0514f8a3743ad72b1e8
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.

git-svn-id: http://svn.tartarus.org/sgt/putty@5261 cda61777-01e9-0310-a592-d414129be87e
unix/uxpty.c