diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-01 21:03:22 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-01 21:03:22 +0000 |
commit | 26e1ebdc1e3a26edada728000bb25b040d7ff4cc (patch) | |
tree | e86d8dc5933ad511141b78d9c107d94cde11316f /array.c | |
parent | 40564c1e3b187fc593001ae80522e577dbb8eb50 (diff) | |
download | ruby-26e1ebdc1e3a26edada728000bb25b040d7ff4cc.tar.gz |
io/wait: fix return value for buffered read
* ext/io/wait/wait.c (io_nread): wrap return value with INT2FIX
Thanks to Yura Sokolov <funny.falcon@gmail.com>
[ruby-core:68369] [Bug#10923]
* test/io/wait/test_io_wait.rb (test_nread_buffered):
fix broken test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
0 files changed, 0 insertions, 0 deletions