diff options
| author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-22 16:03:59 +0000 |
|---|---|---|
| committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-22 16:03:59 +0000 |
| commit | 6f64dbde5e67499b4f8a94673e4d693dcc5efbd1 (patch) | |
| tree | ae628d669011944d33846c0deb0ed239c07a42fe | |
| parent | 7506bf2c3cc1dc1fdd1d043e9f5dc84c76df052b (diff) | |
* class.c (rb_singleton_class_clone): Pass Qnil, not 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | class.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri May 23 01:03:23 2008 Akinori MUSHA <knu@iDaemons.org> + + * class.c (rb_singleton_class_clone): Pass Qnil, not 0. + Fri May 23 00:51:48 2008 Akinori MUSHA <knu@iDaemons.org> * class.c (clone_method): Totally revamp the previous fix which @@ -159,7 +159,7 @@ VALUE rb_singleton_class_clone(obj) VALUE obj; { - return singleton_class_clone_int(obj, 0); + return singleton_class_clone_int(obj, Qnil); } void |
