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

ruby-changes:14759

From: nobu <ko1@a...>
Date: Mon, 8 Feb 2010 16:23:40 +0900 (JST)
Subject: [ruby-changes:14759] Ruby:r26618 (trunk): * common.mk (COMPILE_PRELUDE): rbconfig is loaded on demand.

nobu	2010-02-08 16:23:13 +0900 (Mon, 08 Feb 2010)

  New Revision: 26618

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

  Log:
    * common.mk (COMPILE_PRELUDE): rbconfig is loaded on demand.
    
    * tool/eval.rb, win32/{mkexports,resource}.rb: miniruby no longer
      contains "." in $:.

  Modified files:
    trunk/ChangeLog
    trunk/common.mk
    trunk/tool/eval.rb
    trunk/win32/mkexports.rb
    trunk/win32/resource.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 26617)
+++ ChangeLog	(revision 26618)
@@ -1,3 +1,10 @@
+Mon Feb  8 16:23:08 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* common.mk (COMPILE_PRELUDE): rbconfig is loaded on demand.
+
+	* tool/eval.rb, win32/{mkexports,resource}.rb: miniruby no longer
+	  contains "." in $:.
+
 Mon Feb  8 10:28:58 2010  Yukihiro Matsumoto  <matz@r...>
 
 	* configure.in: check pthread_attr_getstack to prevent obsolete
Index: common.mk
===================================================================
--- common.mk	(revision 26617)
+++ common.mk	(revision 26618)
@@ -123,7 +123,7 @@
 
 BOOTSTRAPRUBY = $(BASERUBY)
 
-COMPILE_PRELUDE = $(MINIRUBY) -I$(srcdir) -I. -r./rbconfig $(srcdir)/tool/compile_prelude.rb
+COMPILE_PRELUDE = $(MINIRUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb
 
 all: main docs
 
Index: win32/resource.rb
===================================================================
--- win32/resource.rb	(revision 26617)
+++ win32/resource.rb	(revision 26618)
@@ -1,6 +1,6 @@
 #!./miniruby -sI.
 
-require 'rbconfig'
+require './rbconfig'
 
 CONFIG = RbConfig::MAKEFILE_CONFIG
 
Index: win32/mkexports.rb
===================================================================
--- win32/mkexports.rb	(revision 26617)
+++ win32/mkexports.rb	(revision 26618)
@@ -3,7 +3,7 @@
 $name = $library = $description = nil
 
 module RbConfig
-  autoload :CONFIG, "rbconfig"
+  autoload :CONFIG, "./rbconfig"
 end
 
 class Exports
Index: tool/eval.rb
===================================================================
--- tool/eval.rb	(revision 26617)
+++ tool/eval.rb	(revision 26618)
@@ -1,5 +1,5 @@
 
-require 'rbconfig'
+require './rbconfig'
 require 'fileutils'
 require 'pp'
 

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

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