Remove no-longer-relevant comment.
authorDavin McCall <davmac@davmac.org>
Thu, 8 Jun 2017 22:21:54 +0000 (23:21 +0100)
committerDavin McCall <davmac@davmac.org>
Thu, 8 Jun 2017 22:21:54 +0000 (23:21 +0100)
src/dinit.cc

index 831e2ae88f419f5a4b1a927e923595e24e09766e..5a208898d0722c6c80b1984486170323cd74babe 100644 (file)
@@ -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));