Issue #10923 has been updated by Eric Wong.

Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED

Fixed in r49797


----------------------------------------
Bug #10923: Bug in io/wait/wait.c
https://bugs.ruby-lang.org/issues/10923#change-51718

* Author: Yura Sokolov
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: trunk, v2.2.x
* Backport: 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED
----------------------------------------
https://github.com/ruby/ruby/blob/28b9f11d5a4b878adb50a3e5472ceea8c462ed4a/ext/io/wait/wait.c#L64-L65
return value should be wrapped by INT2FIX



-- 
https://bugs.ruby-lang.org/