From 425fa0aeb5ced20c03b2d5edb7a409666363ea8f Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Tue, 13 May 2025 19:02:03 +0900 Subject: Make `waiting_fd` behaviour per-IO. (#13127) - `rb_thread_fd_close` is deprecated and now a no-op. - IO operations (including close) no longer take a vm-wide lock. --- test/ruby/test_io.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby') diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 32d7519bdf..a81d689355 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -3826,7 +3826,7 @@ __END__ end tempfiles = [] - (0..fd_setsize+1).map {|i| + (0...fd_setsize).map {|i| tempfiles << Tempfile.create("test_io_select_with_many_files") } -- cgit v1.2.3