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

* src/io.c (do_consuming_read): Don't die on EPIPE.

Rev: src/io.c:1.87
parent f586b827
......@@ -394,7 +394,10 @@ static void do_consuming_read(struct io_read_callback *c,
werror("io.c: read_consume: Unexpected EWOULDBLOCK\n");
case EPIPE:
fatal("io.c: read_consume: Unexpected EPIPE.\n");
/* FIXME: I don't understand why reading should return
* EPIPE, but it happens occasionally under linux. Perhaps
* we should treat it as EOF instead? */
werror("io.c: read_consume: Unexpected EPIPE.\n");
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