[ruby-cvs:69999] nagachika:r62867 (ruby_2_4): merge revision(s) 61639: [Backport #14323]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Wed Mar 21 02:55:34 JST 2018


nagachika	2018-03-21 02:55:34 +0900 (Wed, 21 Mar 2018)

  New Revision: 62867

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

  Log:
    merge revision(s) 61639: [Backport #14323]
    
    net/ftp: fix FrozenError in BufferedSocket
    
    I noticed this bug while working on something else with
    RUBYOPT=-d on, existing test cases all passed with it.
    
    Note: I use String.new because it is the local style, here,
    I prefer +'' (or ''.b, for a future commit)
    
    * lib/net/ftp.rb (BufferedSocket#read): use String.new
    * test/net/ftp/test_buffered_socket.rb (test_read_nil): new test
      [ruby-core:84675] [Bug #14323]

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/lib/net/ftp.rb
    branches/ruby_2_4/test/net/ftp/test_buffered_socket.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list