[ruby-cvs:60492] normal:r53329 (trunk): IO#readpartial rejects bad args

normal at ruby-lang.org normal at ruby-lang.org
Sun Dec 27 15:15:07 JST 2015


normal	2015-12-27 15:15:06 +0900 (Sun, 27 Dec 2015)

  New Revision: 53329

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53329

  Log:
    IO#readpartial rejects bad args
    
    Sometimes a sleepy developer will want to swap read_nonblock
    for readpartial forget to remove "exception: false"
    
    * io.c (io_getpartial): remove unused kwarg from template
    * test/ruby/test_io.rb (test_readpartial_bad_args): new
      [Bug #11885]

  Modified files:
    trunk/ChangeLog
    trunk/io.c
    trunk/test/ruby/test_io.rb


More information about the ruby-cvs mailing list