>>>>> "F" == Florian Frank <flori / nixe.ping.de> writes:

F> It doesn't work - I'm getting the same error as before (in the unpatched
F> ruby version):

 With your *patched* version

svg% cat b.rb
#!/usr/bin/ruby -w
class Class
   def mixin(*methods)
      klass = self
      methods.empty? and methods = klass.instance_methods(false)
      m = Module.new
      m.instance_eval do
         methods.each do |s|
            define_method(s, klass.instance_method(s))
         end
      end
      m
   end
end

Mixin1 = Array.mixin(:[]=)
class B
   include Mixin1
end
a = B.new
a[12] = 24
p a
svg%
 
svg% ./ruby b.rb
b.rb:22: [BUG] Segmentation fault
ruby 1.8.0 (2003-09-03) [i686-linux]

Aborted
svg% 

 You still want to apply the patch ?


Guy Decoux