You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check if O_CLOEXEC is defined before using it in open()
Previously we checked if SOCK_CLOEXEC was defined before using SOCK_CLOEXEC,
but we continued to check for SOCK_CLOEXEC after we switched to using O_CLOEXEC.
Also use fcntl(F_GETFD) before fcntl(F_SETFD) to comport with the Standard.
0 commit comments