From 142beefba460685fea5b6646e1ba629f9ee207b3 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 14 Jul 2011 17:29:05 -0700 Subject: accept.c: fix RDoc for new Kgio::SOCK_* constants We don't want people using the compatibility constants since they're actually broken on systems with real accept4(). --- ext/kgio/accept.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/kgio/accept.c b/ext/kgio/accept.c index f14c791..1dc0d17 100644 --- a/ext/kgio/accept.c +++ b/ext/kgio/accept.c @@ -354,8 +354,8 @@ static VALUE tcp_accept(int argc, VALUE *argv, VALUE self) * value of +Kgio.accept_cloexec+ and +Kgio.accept_nonblock+. +flags+ * is a bitmask that may contain any combination of: * - * - Fcntl::FD_CLOEXEC - close-on-exec flag - * - IO::NONBLOCK - non-blocking flag + * - Kgio::SOCK_CLOEXEC - close-on-exec flag + * - Kgio::SOCK_NONBLOCK - non-blocking flag */ static VALUE unix_tryaccept(int argc, VALUE *argv, VALUE self) { @@ -389,8 +389,8 @@ static VALUE unix_tryaccept(int argc, VALUE *argv, VALUE self) * value of +Kgio.accept_cloexec+ and +Kgio.accept_nonblock+. +flags+ * is a bitmask that may contain any combination of: * - * - Fcntl::FD_CLOEXEC - close-on-exec flag - * - IO::NONBLOCK - non-blocking flag + * - Kgio::SOCK_CLOEXEC - close-on-exec flag + * - Kgio::SOCK_NONBLOCK - non-blocking flag */ static VALUE unix_accept(int argc, VALUE *argv, VALUE self) { -- cgit v1.2.3-24-ge0c7