Commit 7448baf9 authored by Niels Möller's avatar Niels Möller
Browse files

(do_write_callback): Added some code to ignore write

errors for the final , but #if:ed out the code again.

Rev: src/io.c:1.168
parent ad5881e8
......@@ -652,9 +652,17 @@ do_write_callback(struct io_callback *s UNUSED,
/* Fall through */
#if 0
/* Don't complain if it was writing the final ^D
* character that failed. */
if ( (fd->type == IO_PTY_CLOSED)
&& (fd->write_buffer->length == 1) )
debug("io.c: ignoring write error, on the final ^D character\n");
werror("io.c: write failed, %z\n", STRERROR(errno));
make_io_exception(EXC_IO_WRITE, fd, errno, NULL));
fd, errno, NULL));
Supports Markdown
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