Tree
Tree:
af67d21052326e73d1dfe93e98c515380165b96c
Date:
Wed May 25 18:03:07 2022 UTC
Message:
work around macos lack of SOCK_CLOEXEC / SOCK_NONBLOCK

rework mark_nonblock so it sets the cloexec flag too and use it in
control.c to avoid these flags. (which are expected to become available
on a future revision of POSIX and are already widely available.)

It's not an issue for telescope to do the socket/accept + fcntl dance
because there aren't threads that can fork(2) (there are no threads at
all!)

reported by @sikmir at github

https://github.com/omar-polo/telescope/commit/59ef79dd19611c7846b00427e6f2267c748ae290#r74498414
Omar Polo