Project

General

Profile

Actions

Bug #18443

closed

IO read/write/wait hook bug fixes.

Added by ioquatix (Samuel Williams) 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:106854]

Description

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.

Actions

Also available in: Atom PDF