ruby/lib/net
naruse d3eeb14db7 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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-02-16 08:17:36 +00:00
..
http raise error if value contains CR/LF in iniheader of initialize_http_header 2017-12-20 12:06:59 +00:00
ftp.rb merge revision(s) 61639: [Backport #14323] 2018-02-16 08:17:36 +00:00
http.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
https.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
imap.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
pop.rb Fix variable name in example of net/pop 2017-08-02 15:10:42 +00:00
protocol.rb lib/net/protocol.rb: account read_bytes before caller sees it 2017-05-22 07:36:00 +00:00
smtp.rb Use unpack1 instead of unpack and [0] 2017-07-20 23:34:03 +00:00