[前][次][番号順一覧][スレッド一覧]

ruby-changes:21964

From: nobu <ko1@a...>
Date: Mon, 12 Dec 2011 17:27:52 +0900 (JST)
Subject: [ruby-changes:21964] nobu:r34013 (trunk): * load.c (rb_feature_p): lazy assigned load_path searched in

nobu	2011-12-12 17:26:54 +0900 (Mon, 12 Dec 2011)

  New Revision: 34013

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34013

  Log:
    * load.c (rb_feature_p): lazy assigned load_path searched in
      loading_table were not expanded, but all features, pushed to
      loading table, are expanded.  a patch by Yura Sokolov
      <funny.falcon AT gmail.com> in [ruby-core:41545]. [Bug #5727]

  Modified files:
    trunk/ChangeLog
    trunk/load.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 34012)
+++ ChangeLog	(revision 34013)
@@ -1,3 +1,10 @@
+Mon Dec 12 17:26:51 2011  Nobuyoshi Nakada  <nobu@r...>
+
+	* load.c (rb_feature_p): lazy assigned load_path searched in
+	  loading_table were not expanded, but all features, pushed to
+	  loading table, are expanded.  a patch by Yura Sokolov
+	  <funny.falcon AT gmail.com> in [ruby-core:41545]. [Bug #5727]
+
 Mon Dec 12 15:41:03 2011  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/stringio/stringio.c (strio_truncate): fix typo.  patched by
Index: load.c
===================================================================
--- load.c	(revision 34012)
+++ load.c	(revision 34013)
@@ -183,7 +183,7 @@
 	    fs.name = feature;
 	    fs.len = len;
 	    fs.type = type;
-	    fs.load_path = load_path ? load_path : rb_get_load_path();
+	    fs.load_path = load_path ? load_path : rb_get_expanded_load_path();
 	    fs.result = 0;
 	    st_foreach(loading_tbl, loaded_feature_path_i, (st_data_t)&fs);
 	    if ((f = fs.result) != 0) {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]