simon-svn: putty: simon

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Sun Feb 6 15:14:34 GMT 2005


SVN root:       svn://ixion.tartarus.org/main
Changes by:     simon
Revision:       5261
Date:           2005-02-06 15:14:34 +0000 (Sun, 06 Feb 2005)

Log message (9 lines):
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.

Modified files:
U   putty/unix/uxpty.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/unix/uxpty.c?rev=5261&r1=5260&r2=5261



More information about the tartarus-commits mailing list