[#107430] [Ruby master Feature#18566] Merge `io-wait` gem into core IO — "byroot (Jean Boussier)" <noreply@...>
Issue #18566 has been reported by byroot (Jean Boussier).
22 messages
2022/02/02
[ruby-core:107412] [Ruby master Bug#18443] IO read/write/wait hook bug fixes.
From:
"naruse (Yui NARUSE)" <noreply@...>
Date:
2022-02-01 12:56:33 UTC
List:
ruby-core #107412
Issue #18443 has been updated by naruse (Yui NARUSE). Backport changed from 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONTNEED, 3.1: REQUIRED to 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONTNEED, 3.1: DONE ruby_3_1 cd4aae430da8303dac9f1be2d1e1b7ce1bc8a458 merged revision(s) f27eb8148f5a72bbacfebfecc7de9305471bb5c9,d75f7078c831d45ab5ba2fae4fbb308d01a21e46,d5836db1b398a7936b0461b3011db66f6cc8c490. ---------------------------------------- Bug #18443: IO read/write/wait hook bug fixes. https://bugs.ruby-lang.org/issues/18443#change-96311 * Author: ioquatix (Samuel Williams) * Status: Closed * Priority: Normal * Backport: 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONTNEED, 3.1: DONE ---------------------------------------- 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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>