[ruby-cvs:53518] nobu:r46372 (trunk): io.c: truncate before appending

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Jun 7 12:51:58 JST 2014


nobu	2014-06-07 12:51:57 +0900 (Sat, 07 Jun 2014)

  New Revision: 46372

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

  Log:
    io.c: truncate before appending
    
    * io.c (read_all): truncate the buffer before appending read data,
      instead of truncating before reading.
      [ruby-core:55951] [Bug #8625]

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


More information about the ruby-cvs mailing list