]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use uv_os_sock_t instead of uv_os_fd_t for sockets
authorOndřej Surý <ondrej@isc.org>
Mon, 5 Oct 2020 10:25:19 +0000 (12:25 +0200)
committerOndřej Surý <ondrej@sury.org>
Mon, 5 Oct 2020 14:19:23 +0000 (16:19 +0200)
commit5cff119533e3ca2cf69375466bd83b761fe47fa9
treeb775b2886de4b4731a9d9efa9a84a28b73dd3f3e
parent601fc37efe8ef455ea87c7c891f2558e1b26a6ea
Use uv_os_sock_t instead of uv_os_fd_t for sockets

On POSIX based systems both uv_os_sock_t and uv_os_fd_t are both typedef
to int.  That's not true on Windows, where uv_os_sock_t is SOCKET and
uv_os_fd_t is HANDLE and they differ in level of indirection.

(cherry picked from commit acb6ad9e3c1b1c873c0cd535262cbe7730b5b750)
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/netmgr/tcp.c