From: Davin McCall Date: Thu, 8 Jun 2017 22:21:54 +0000 (+0100) Subject: Remove no-longer-relevant comment. X-Git-Tag: v0.06~84 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7c613c9b80f4ddcfa56ab5bd40d8fed648b10adf;p=oweals%2Fdinit.git Remove no-longer-relevant comment. --- diff --git a/src/dinit.cc b/src/dinit.cc index 831e2ae..5a20889 100644 --- a/src/dinit.cc +++ b/src/dinit.cc @@ -488,8 +488,6 @@ void open_control_socket(bool report_ro_failure) noexcept name->sun_family = AF_UNIX; memcpy(name->sun_path, saddrname, saddrname_len + 1); - // OpenBSD and Linux both allow combining NONBLOCK/CLOEXEC flags with socket type, however - // it's not actually POSIX. (TODO). int sockfd = dinit_socket(AF_UNIX, SOCK_STREAM, 0, SOCK_NONBLOCK | SOCK_CLOEXEC); if (sockfd == -1) { log(LogLevel::ERROR, "Error creating control socket: ", strerror(errno));