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

ruby-changes:27644

From: nobu <ko1@a...>
Date: Sun, 10 Mar 2013 23:28:07 +0900 (JST)
Subject: [ruby-changes:27644] nobu:r39696 (trunk): ext_conf_builder.rb: use intermediate destdir always

nobu	2013-03-10 23:27:56 +0900 (Sun, 10 Mar 2013)

  New Revision: 39696

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

  Log:
    ext_conf_builder.rb: use intermediate destdir always
    
    * lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
      it is impossible to predict which file will be installed to where,
      by the arguments, so use intermediate destination directory always.
      [Bug #7698]

  Modified files:
    trunk/ChangeLog
    trunk/lib/rubygems/ext/ext_conf_builder.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39695)
+++ ChangeLog	(revision 39696)
@@ -1,3 +1,17 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Mar 10 23:27:54 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
+	  it is impossible to predict which file will be installed to where,
+	  by the arguments, so use intermediate destination directory always.
+	  [Bug #7698]
+
+Sun Mar 10 23:27:05 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
+	  it is impossible to predict which file will be installed to where,
+	  by the arguments, so use intermediate destination directory always.
+	  [Bug #7698]
+
 Sun Mar 10 17:00:22 2013  Tadayoshi Funaba  <tadf@d...>
 
 	* complex.c: edited rdoc.
Index: lib/rubygems/ext/ext_conf_builder.rb
===================================================================
--- lib/rubygems/ext/ext_conf_builder.rb	(revision 39695)
+++ lib/rubygems/ext/ext_conf_builder.rb	(revision 39696)
@@ -13,7 +13,7 @@ class Gem::Ext::ExtConfBuilder < Gem::Ex https://github.com/ruby/ruby/blob/trunk/lib/rubygems/ext/ext_conf_builder.rb#L13
   FileEntry = FileUtils::Entry_ # :nodoc:
 
   def self.build(extension, directory, dest_path, results, args=[])
-    tmp_dest = Dir.mktmpdir(".gem.", ".") if File.identical?(dest_path, ".")
+    tmp_dest = Dir.mktmpdir(".gem.", ".")
 
     Tempfile.open %w"siteconf .rb", "." do |siteconf|
       siteconf.puts "require 'rbconfig'"

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

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