Commit e79b9183 authored by Niels Möller's avatar Niels Möller

*** empty log message ***

Rev: ChangeLog:1.421
Rev: src/server_session.c:1.71
parent 402be2cc
2001-09-27 Niels Mller <nisse@ehand.com>
* src/server_session.h (window_change_request_handler): Declare
object.
* src/lshd.c (main): Install window_change_request_handler for
session channels.
* src/tcpforward_commands.c: Made some more objects static.
* src/spki_commands.c (spki_parse_key): Deleted class.
......
......@@ -351,6 +351,8 @@ static int make_pty(struct pty_info *pty, int *in, int *out, int *err)
in[1] = pty->master;
/* Ownership of the fd:s passes on to some file objects. */
/* FIXME: This doesn't quite work, we need the slave fd around
* for window_change_request. */
pty->super.alive = 0;
/* FIXME: It seems unnecessary to dup the fd:s here. But perhaps
......@@ -948,7 +950,7 @@ do_alloc_pty(struct channel_request *c UNUSED,
tty_setwinsize(pty->slave, &dims))
{
REMEMBER_RESOURCE(channel->resources, &pty->super);
verbose(" granted.\n");
COMMAND_RETURN(s, NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment