Commit 73abc76f authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: ChangeLog:1.439
Rev: src/nettle/ChangeLog:1.45
Rev: src/server_session.c:1.75
parent e6ce1260
2001-11-02 Niels Mller <nisse@ehand.com>
* src/server_session.c (do_eof): Use close_fd_write instead of
close_fd_nicely.
2001-10-30 Niels Mller <nisse@ehand.com>
* src/channel_forward.c (do_channel_forward_eof): Don't call
......
2001-11-02 Niels Mller <nisse@ehand.com>
* yarrow256.c (yarrow256_init): Fixed order of code and
declarations.
2001-10-30 Niels Mller <nisse@ehand.com>
* rsa-compat.h: Added real prototypes and declarations.
......
......@@ -136,14 +136,12 @@ do_eof(struct ssh_channel *channel)
if (session->pty)
/* Is there any better way to signal EOF on a pty? This is what
* emacs does. */
/* FIXME: This should be handled specially by close_fd_write, so
* that we can ignore EPIPE errors. */
A_WRITE(&session->in->write_buffer->super,
ssh_format("%lc", /* C-d */ 4));
if (shutdown (session->in->fd, SHUT_WR) < 0)
werror("server_session.c: do_eof, shutdown failed, (errno = %i): %z\n",
errno, STRERROR(errno));
close_fd_nicely(session->in);
close_fd_write(session->in);
}
struct ssh_channel *
......
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