On Thu, Sep 05, 2002 at 06:31:46PM +0900, Michal Rokos wrote:
> 	does anybody tried to run 'irb'?
> 
> 	Mine eats all the memory...

	Fixed by matz.

	Thank you.

		Michal


PS: Bug was at:
Index: class.c
===================================================================
RCS file: /src/ruby/class.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -p -r1.45 -r1.46
--- class.c	2002/09/04 06:37:35	1.45
+++ class.c	2002/09/05 09:42:56	1.46
@@ -3,7 +3,7 @@
   class.c -
 
   $Author: matz $
-  $Date: 2002/09/04 06:37:35 $
+  $Date: 2002/09/05 09:42:56 $
   created at: Tue Aug 10 15:05:44 JST 1993
 
   Copyright (C) 1993-2002 Yukihiro Matsumoto
@@ -150,7 +150,7 @@ rb_make_metaclass(obj, super)
     if (BUILTIN_TYPE(obj) == T_CLASS) {
 	RBASIC(klass)->klass = klass;
 	if (FL_TEST(obj, FL_SINGLETON)) {
-	    RCLASS(klass)->super = RBASIC(RCLASS(obj)->super)->klass;
+	    RCLASS(klass)->super = RBASIC(rb_class_real(RCLASS(obj)->super))->klass;
 	}
     }
 
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michal Rokos                         Czech Technical University, Prague
E-mail:m.rokos / sh.cvut.cz      ICQ:36118339      Jabber:majkl / jabber.cz
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-