ruby-changes:12609
From: nobu <ko1@a...>
Date: Thu, 30 Jul 2009 16:43:43 +0900 (JST)
Subject: [ruby-changes:12609] Ruby:r24320 (trunk): * variable.c (rb_class_path): fixed a variable.
nobu 2009-07-30 16:43:32 +0900 (Thu, 30 Jul 2009) New Revision: 24320 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24320 Log: * variable.c (rb_class_path): fixed a variable. Modified files: trunk/variable.c Index: variable.c =================================================================== --- variable.c (revision 24319) +++ variable.c (revision 24320) @@ -193,7 +193,7 @@ if (!NIL_P(path)) return path; if (RCLASS_IV_TBL(klass) && st_lookup(RCLASS_IV_TBL(klass), (st_data_t)tmp_classpath, &n)) { - return path; + return (VALUE)n; } else { const char *s = "Class"; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/