Project

General

Profile

« Previous | Next » 

Revision 0e15934d

Added by nobu (Nobuyoshi Nakada) over 11 years ago

variable.c: fix r36574

  • variable.c (find_class_path): no retry when preferred is given.
  • variable.c (classname): if classid is set try it to find full
    qualified class path, and then try arbitrary class path. try
    tmp_classpath at last even if enclosing namespace is anonymous.
    fix r36574. [ruby-core:42865][Bug #6078]
  • variable.c (rb_set_class_path_string, rb_set_class_path): set
    tmp_classpath instead of classpath if the name is not permanent.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e