From 7c613c9b80f4ddcfa56ab5bd40d8fed648b10adf Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Thu, 8 Jun 2017 23:21:54 +0100 Subject: [PATCH] Remove no-longer-relevant comment. --- src/dinit.cc | 2 -- 1 file changed, 2 deletions(-) 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)); -- 2.25.1