ccan/io: save errno on io_close, for finish functions.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 11:03:07 +0000 (21:33 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 11:03:07 +0000 (21:33 +1030)
commit7bfb7a1cf4f7c5eaf4081ef7128b7fc7d1cf926e
tree52cd736eb256d44960e6bf3e0789cd36f8a5e18f
parent306b6b0e89957bc1f2faa0a9b30a8398d1f40dfc
ccan/io: save errno on io_close, for finish functions.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/io/io.c
ccan/io/io.h
ccan/io/poll.c
ccan/io/test/run-18-errno-DEBUG.c [new file with mode: 0644]
ccan/io/test/run-18-errno.c [new file with mode: 0644]