[ruby-cvs:56947] normal:r49797 (trunk): io/wait: fix return value for buffered read
normal at ruby-lang.org
normal at ruby-lang.org
Mon Mar 2 06:03:24 JST 2015
normal 2015-03-02 06:03:22 +0900 (Mon, 02 Mar 2015)
New Revision: 49797
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49797
Log:
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 at gmail.com>
[ruby-core:68369] [Bug#10923]
* test/io/wait/test_io_wait.rb (test_nread_buffered):
fix broken test
Modified files:
trunk/ChangeLog
trunk/ext/io/wait/wait.c
trunk/test/io/wait/test_io_wait.rb
More information about the ruby-cvs
mailing list