-
Niels Möller authored
(make_server_session): Made static. New argument helper_fd. (class open_session): New attribute helper_fd. (do_open_session): Pass helper_fd to make_server_session. (make_open_session): New argument helper_fd. (do_exit_shell): Updated calls of channel_send_request. Cosmetic change to verbose message. (make_pty): Dup the master fd for both stdin and stdout, and leave the fd in the pty_info object intact. (spawn_process): Pass helper_fd to spawn_shell. If we're using a pty, set ignored_error = EIO on the read state correspondign to stdout. If we don't have a separate stderr channel, set channel->sources to 1, not 2. Rev: src/server_session.c:1.103.2.16 Rev: src/server_session.h:1.20.2.2
abbf35d1