]> git.ozlabs.org Git - ccan/commit
io: make io_close_taken_fd() unset nonblocking on the fd.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 9 Jan 2017 23:16:26 +0000 (09:46 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 9 Jan 2017 23:16:26 +0000 (09:46 +1030)
commit3f642347378afc9e1db1768d88c9f5b2baffe9ba
tree3a563b01e00940e3e80f6c96d8aa1d3b47d688a5
parentf08b8139fc7370224c59bc3178b887810b98592b
io: make io_close_taken_fd() unset nonblocking on the fd.

This is what users want, and expect: as demonstrated by the test failure
when not under valgrind!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/io/backend.h
ccan/io/io.c
ccan/io/io.h
ccan/io/poll.c