[ruby-cvs:57267] nobu:r50118 (trunk): io.c: use read/write methods if possible

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Mar 30 11:28:09 JST 2015


nobu	2015-03-30 11:28:02 +0900 (Mon, 30 Mar 2015)

  New Revision: 50118

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

  Log:
    io.c: use read/write methods if possible
    
    * io.c (copy_stream_body): use the arguments without conversion if
      having read, readpartial, and write methods, than conversion by
      to_path method.  [ruby-core:68676] [Bug #11015]

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


More information about the ruby-cvs mailing list