dvbinfo: MSG_CMSG_CLOEXEC if a flag for recvmsg and not recv.
MSG_CMSG_CLOEXEC is a flag for recvmsg and not recv. Thus rewrite {udp,tcp}_open to create sockets with SOCK_CLOEXEC. If SOCK_CLOEXEC is not available, FD_CLOEXEC is set instead. (cherry picked from commit 3d865a7a) Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
Showing
Please register or sign in to comment