mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* 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:
		
							parent
							
								
									9e0f3e0db9
								
							
						
					
					
						commit
						bed9e8e297
					
				
					 2 changed files with 6 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue