Show
Ignore:
Timestamp:
08/27/09 01:31:37 (11 months ago)
Author:
Giuseppe Bilotta <giuseppe.bilotta@…>
Children:
b596f88703fb6d87b1fd16ba33d60efa9261d138
Parents:
0b95114018f49dde6078e88935db54b2c8f20dd5
git-author:
franz <Franz.Netykafka@runbox.com> 1245095996 +0200
git-committer:
Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 1251322297 +0200
Message:

ruby 1.9: monkeypatch MonitorMixin? and ConditionVariable?

ruby 1.9's ConditionVariable#wait? is not implemented for timeout != nil,
this patch adds an implementation for it (see ruby-core:15847)

Also, since MonitorMixin? is included into TCPSocket in rbot, and
TCPSocket#send != Object#send in ruby 1.9, i changed that to use
send.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bin/rbot

    r576727b r7cad4b6  
    9999end 
    100100 
     101# ruby 1.9 specific fixes 
     102unless RUBY_VERSION < '1.9' 
     103  require 'rbot/compat19' 
     104end 
     105 
    101106if ($opts["version"]) 
    102107  puts "rbot #{$version}"