ruby-changes:66569
From: Nobuyoshi <ko1@a...>
Date: Wed, 23 Jun 2021 12:42:32 +0900 (JST)
Subject: [ruby-changes:66569] 8f16a715e1 (master): Revert deprecations for now
https://git.ruby-lang.org/ruby.git/commit/?id=8f16a715e1 From 8f16a715e1727d83e09c95f5c87a5837a6c26db1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 23 Jun 2021 12:41:54 +0900 Subject: Revert deprecations for now --- include/ruby/io.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/ruby/io.h b/include/ruby/io.h index 9a6b65c..dfef85b 100644 --- a/include/ruby/io.h +++ b/include/ruby/io.h @@ -154,13 +154,13 @@ int rb_io_extract_encoding_option(VALUE opt, rb_encoding **enc_p, rb_encoding ** https://github.com/ruby/ruby/blob/trunk/include/ruby/io.h#L154 void rb_io_extract_modeenc(VALUE *vmode_p, VALUE *vperm_p, VALUE opthash, int *oflags_p, int *fmode_p, rb_io_enc_t *convconfig_p); ssize_t rb_io_bufwrite(VALUE io, const void *buf, size_t size); -RBIMPL_ATTR_DEPRECATED(("use rb_io_maybe_wait_readable")) +//RBIMPL_ATTR_DEPRECATED(("use rb_io_maybe_wait_readable")) int rb_io_wait_readable(int fd); -RBIMPL_ATTR_DEPRECATED(("use rb_io_maybe_wait_writable")) +//RBIMPL_ATTR_DEPRECATED(("use rb_io_maybe_wait_writable")) int rb_io_wait_writable(int fd); -RBIMPL_ATTR_DEPRECATED(("use rb_io_wait")) +//RBIMPL_ATTR_DEPRECATED(("use rb_io_wait")) int rb_wait_for_single_fd(int fd, int events, struct timeval *tv); VALUE rb_io_wait(VALUE io, VALUE events, VALUE timeout); -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/