From: "ioquatix (Samuel Williams)" Date: 2021-12-27T22:29:08+00:00 Subject: [ruby-core:106854] [Ruby master Bug#18443] IO read/write/wait hook bug fixes. Issue #18443 has been reported by ioquatix (Samuel Williams). ---------------------------------------- Bug #18443: IO read/write/wait hook bug fixes. https://bugs.ruby-lang.org/issues/18443 * Author: ioquatix (Samuel Williams) * Status: Open * Priority: Normal * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- After testing Ruby 3.1.0 extensively, I found some obscure bugs which should be fixed. This should be back ported to 3.1.1 ASAP. - `console.c` incorrect `rb_io_wait` argument. - `rb_read_internal` incorrect logic when handling partial non-blocking reads in `io.c`. - Prefer `wait_readable` rather than `IO.select` in irb implementation. Please see https://github.com/ruby/ruby/pull/5353 for details. -- https://bugs.ruby-lang.org/ Unsubscribe: