[ruby-cvs:70060] usa:r62943 (ruby_2_3): merge revision(s) 61639: [Backport #14323]

usa at ruby-lang.org usa at ruby-lang.org
Wed Mar 28 14:41:54 JST 2018


usa	2018-03-28 14:41:54 +0900 (Wed, 28 Mar 2018)

  New Revision: 62943

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

  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
      [Bug #14323]

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


More information about the ruby-cvs mailing list