Hello,

This page [0] states that accept4, SOCK_CLOEXEC and SOCK_NONBLOCK are
implemented only in FreeBSD 10, but libc on gnu/kfreebsd has prototype
for accept4.

It seems to me that even if debian's kfreebsd supports accept4 (I
doubt) it will be better to remove that prototype because:
1) it's useless without SOCK_CLOEXEC or SOCK_NONBLOCK
2) some software assumes that accept4 and SOCK_CLOEXEC go together so
they check only for accept4 but not for SOCK_CLOEXEC, it's the reason
why ruby2.0 build is failed on kfreebsd.

[0]: https://wiki.freebsd.org/AtomicCloseOnExec


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/CAAB-Kck5NfzLNpg3eL=-jckuvejpfi1zlnkn8awcqv4hv48...@mail.gmail.com

Reply via email to