* lib/net/telnet.rb: don't use simple delegate.

because SimpleDelegate behavior changed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
xibbar 2009-11-12 14:03:03 +00:00
Родитель 9e0f3e0db9
Коммит bed9e8e297
2 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Thu Nov 12 22:55:42 2009 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/net/telnet.rb: don't use simple delegate.
because SimpleDelegate behavior changed.
Thu Nov 12 14:33:21 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* thread_win32.c (thread_errno): CreateThread does not set errno.

Просмотреть файл

@ -10,7 +10,6 @@
#
require "socket"
require "delegate"
require "timeout"
require "English"
@ -93,7 +92,7 @@ module Net
# of relevant RFCs, see
# http://www.omnifarious.org/~hopper/technical/telnet-rfc.html
#
class Telnet < SimpleDelegator
class Telnet
# :stopdoc:
IAC = 255.chr # "\377" # "\xff" # interpret as command
@ -368,7 +367,6 @@ module Net
@dumplog.log_dump('#', message) if @options.has_key?("Dump_log")
end
super(@sock)
end # initialize
# The socket the Telnet object is using. Note that this object becomes