[ruby-cvs:53506] nobu:r46360 (trunk): io.c: not shorten buffer unless succeeded

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Jun 6 13:39:39 JST 2014


nobu	2014-06-06 13:39:37 +0900 (Fri, 06 Jun 2014)

  New Revision: 46360

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

  Log:
    io.c: not shorten buffer unless succeeded
    
    * io.c (io_setstrbuf, io_read): should not shorten the given buffer until
      read succeeds.  [ruby-core:55951] [Bug #8625]

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


More information about the ruby-cvs mailing list