diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-07-14 17:29:05 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-07-14 17:29:05 -0700 |
commit | 142beefba460685fea5b6646e1ba629f9ee207b3 (patch) | |
tree | bc8464e8407a94786d96487d23c61f06f78bfa3c | |
parent | c22f2b5ebccbca8e04aa22821964f67c4a81c675 (diff) | |
download | kgio-142beefba460685fea5b6646e1ba629f9ee207b3.tar.gz |
We don't want people using the compatibility constants since they're actually broken on systems with real accept4().
-rw-r--r-- | ext/kgio/accept.c | 8 |
1 files 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) { |