1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/net
usa 08987d3105 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]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@62943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-28 05:41:54 +00:00
..
ftp merge revision(s) 61639: [Backport #14323] 2018-03-28 05:41:54 +00:00
http merge revision(s) 61359: [Backport #14208] 2018-03-28 04:54:58 +00:00
imap merge revision(s) 59372: [Backport #13649] 2018-01-31 11:26:08 +00:00
pop Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
protocol Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
smtp merge revision(s) 56576,56623: [Backport #12678] [Backport #13429] 2017-08-09 08:10:56 +00:00