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

ruby-changes:22894

From: nobu <ko1@a...>
Date: Wed, 7 Mar 2012 14:22:54 +0900 (JST)
Subject: [ruby-changes:22894] nobu:r34943 (trunk): * load.c (load_failed): no need to guard fname, it's stored in the exception to be raised.

nobu	2012-03-07 14:22:43 +0900 (Wed, 07 Mar 2012)

  New Revision: 34943

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

  Log:
    * load.c (load_failed): no need to guard fname, it's stored in the exception to be raised.

  Modified files:
    trunk/load.c

Index: load.c
===================================================================
--- load.c	(revision 34942)
+++ load.c	(revision 34943)
@@ -594,7 +594,6 @@
 load_failed(VALUE fname)
 {
     rb_loaderror_with_path(fname, "cannot load such file -- %s", RSTRING_PTR(fname));
-    RB_GC_GUARD(fname);
 }
 
 static VALUE

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

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