ruby-changes:5045
From: knu <ko1@a...>
Date: Fri, 23 May 2008 01:04:09 +0900 (JST)
Subject: [ruby-changes:5045] knu - Ruby:r16538 (ruby_1_8): * class.c (rb_singleton_class_clone): Pass Qnil, not 0.
knu 2008-05-23 01:03:59 +0900 (Fri, 23 May 2008) New Revision: 16538 Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/class.c Log: * class.c (rb_singleton_class_clone): Pass Qnil, not 0. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=16538&r2=16537&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/class.c?r1=16538&r2=16537&diff_format=u Index: ruby_1_8/class.c =================================================================== --- ruby_1_8/class.c (revision 16537) +++ ruby_1_8/class.c (revision 16538) @@ -159,7 +159,7 @@ rb_singleton_class_clone(obj) VALUE obj; { - return singleton_class_clone_int(obj, 0); + return singleton_class_clone_int(obj, Qnil); } void Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 16537) +++ ruby_1_8/ChangeLog (revision 16538) @@ -1,3 +1,7 @@ +Fri May 23 01:03:23 2008 Akinori MUSHA <knu@i...> + + * class.c (rb_singleton_class_clone): Pass Qnil, not 0. + Fri May 23 00:51:48 2008 Akinori MUSHA <knu@i...> * class.c (clone_method): Totally revamp the previous fix which -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/